Page 1 of 1

Unity Event at specific conversation node in local scene

Posted: Tue Jul 30, 2019 6:33 am
by MFB
Hello!

I was wondering if it was possible to detect when you reach a certain node in a conversation?
Basically I would like a "visual novel"-like effect where once you reach a certain point in the conversation an image of the character changes on screen.
I have seen the "On Execute" events inside each conversation node, however they won't really allow me to interact with objects in a scene without some larger workarounds.
This On Execute event is essentially what I would want but with it being able to interact with objects in my scene alittle easier than the ones inside the conversation tree nodes.

Is there a way to facilitate this kind of functionality?

Thanks for the read!

Re: Unity Event at specific conversation node in local scene

Posted: Tue Jul 30, 2019 10:37 am
by Tony Li
Hi,

This is what the Sequence field is designed for. More info:
If you're using actor portraits, use the SetPortrait() sequencer command to change the character's current portrait.

Otherwise, in many cases you can drag GameObjects and assets into the Sequence field to reduce or eliminate the need to type anything. In some cases, you'll need to type in the commands, but the syntax is pretty simple.

Re: Unity Event at specific conversation node in local scene

Posted: Wed Jul 31, 2019 6:27 pm
by MFB
Ah! Perfect! I watched through a playlist and only ever saw the sequencer tutorial for the camera so I assumed that was its main function, but this is amazing.

Thanks for the fast reply btw!

Re: Unity Event at specific conversation node in local scene

Posted: Wed Jul 31, 2019 6:40 pm
by Tony Li
Happy to help!