Page 1 of 1

Scene Event AFTER conversation is done.

Posted: Sat Jul 11, 2020 10:11 am
by Ren
Hi, I’ve watched the official scene event tutorial but somehow mine calls the scene event during the conversation and NOT after. What I want is activate/call my own scripts AFTER I Finish/END the entire conversation (like after I end and close the UI!)
I think the only difference between mine and the tutorial video is that mine ends with NPC’s line when the tutorial ends with Player’s response.
Could you please tell me if I’m doing something wrong? Thank you so much for your help!

Re: Scene Event AFTER conversation is done.

Posted: Sat Jul 11, 2020 12:04 pm
by Tony Li
Hi,

For that, use a Dialogue System Trigger set to On Conversation End. Add it to one of the two primary conversation participants' GameObjects, and select Add Action > OnExecute() Event.

If you only want to run the event under certain conditions, you can set the Conditions section.

Re: Scene Event AFTER conversation is done.

Posted: Sun Jul 12, 2020 9:30 am
by Ren
Thanks! It works!
I have one more question.

I'm trying to put dialogue trigger object (with box collider) in my custom layer but it seems player doesn't interact with it if the layer is not in default. What should I do? Sorry if this was in the manual. I guess I'm not good at finding info.

Re: Scene Event AFTER conversation is done.

Posted: Sun Jul 12, 2020 10:39 am
by Tony Li
Hi,

If you're using a Selector, add your custom layer to the layer mask.

If you're using a Proximity Selector, make sure layers are set to collide in your project settings.