Page 1 of 1

Dialogue System Trigger - On Start Issues

Posted: Thu Jun 06, 2024 9:47 pm
by pizzadelivery3
I'm using the Dialogue System Trigger to start a conversation that should utilize the "On Conversation Start" events in the Dialogue Systems Events script. If I use "On Trigger Enter" for the Trigger then the events happen but if I use On Start then none of the events happen (both for starting and stopping the conversation). Not sure why one option for the trigger would work but the other wouldn't.

Re: Dialogue System Trigger - On Start Issues

Posted: Fri Jun 07, 2024 8:09 am
by Tony Li
Hi,

Assign the GameObject with the Dialogue System Events component to the Dialogue System Trigger > Start Conversation action's Conversation Actor or Conversation Conversant. Events such as "On Conversation Start" are only sent to the conversation actor and conversant and the Dialogue Maanger GameObject. More info and explanation: Character GameObject Assignments

Alternatively, if you want to receive the event on a different GameObject, you can use a C# event as described in Script Messages & Events.

Re: Dialogue System Trigger - On Start Issues

Posted: Fri Jun 07, 2024 12:18 pm
by pizzadelivery3
Tony Li wrote: Fri Jun 07, 2024 8:09 am Hi,

Assign the GameObject with the Dialogue System Events component to the Dialogue System Trigger > Start Conversation action's Conversation Actor or Conversation Conversant. Events such as "On Conversation Start" are only sent to the conversation actor and conversant and the Dialogue Maanger GameObject. More info and explanation: Character GameObject Assignments

Alternatively, if you want to receive the event on a different GameObject, you can use a C# event as described in Script Messages & Events.

Great looks like this works but now when I use the OnStart as a trigger the cursor still appears even when the "Show Cursor During Conversation" box is unchecked.

Re: Dialogue System Trigger - On Start Issues

Posted: Fri Jun 07, 2024 8:52 pm
by Tony Li
Hi,

It's possible something else is making the cursor visible. Are you using any integrations? For example, very often character controllers such as Opsive and Invector will keep the cursor hidden during play. But when a conversation involves the player, the integration makes the cursor visible so the player can select menu items with the mouse.