Hi i want to ask what the best way would be to prevent the player to reopen a dialog short after he have already spoken with it.
i use Proximity Sensor on the player and the Usable components on the interactables.
like the situation he goes to an object and want to interact with it. if he want to spam the use/dialog skip button then the dialog goes through and reopens again if the button got pressed one time.
i hope you understand what i mean and thanks for your time.
Prevent to reopen dialog for a shot time
Re: Prevent to reopen dialog for a shot time
Hi,
Add a Dialogue System Events component. Configure OnConversationStart() to disable the Usable. Configure OnConversationEnd() to start a Timed Event that re-enables the Usable:
Add a Dialogue System Events component. Configure OnConversationStart() to disable the Usable. Configure OnConversationEnd() to start a Timed Event that re-enables the Usable:
Re: Prevent to reopen dialog for a shot time
thanks this worked, i created a script wich turn all usables off while in dialog and turn them on if the dialog is finished
Re: Prevent to reopen dialog for a shot time
Sounds good!