Delay trigger

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Delay trigger

Post 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
User avatar
Tony Li
Posts: 22083
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay trigger

Post 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.
Post Reply