Page 1 of 1

Delay trigger

Posted: Mon Nov 18, 2024 3:47 pm
by hrohibil
Hello Tony

When my player enters a dialogue system trigger and ends the conversation, then the conversation starts immediately because player is in the trigger zone. How do i add some sort of a delay,?`I don't want to destroy the trigger as a new conversation tree is available

Re: Delay trigger

Posted: Mon Nov 18, 2024 7:58 pm
by Tony Li
Hi,

If you tick the Dialogue System Trigger's Actions > Start Conversation > Prevent Restart On Same Frame checkbox, it won't immediately restart the Dialogue System Trigger.

Other than that, you may need to use OnConversationStart() and OnConversationEnd() events, possibly with a one frame delay, to handle it.