Page 1 of 1

On Unuse / On Conversation ends USABLE

Posted: Wed Oct 26, 2022 3:22 pm
by rauljl1
Hi, Tony.
I see that a Usable component have 3 events: On Select(), On Deselect() and On Use(). How to add/create one more which is On Conversation ends.
I show a sprite when Select and hide when Deselect or On Use. But I want to show too when the conversation ends. Because, the player is still in range.

Re: On Unuse / On Conversation ends USABLE

Posted: Wed Oct 26, 2022 4:17 pm
by Tony Li
Hi,

What about adding a Dialogue System Events component to the same GameObject? Dialogue System Events has an OnConversationEnd() event.

Please see Script Events & Messages for the list of GameObjects that receive OnConversationEnd messages.