Dialogue System Trigger - On Start Issues

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
pizzadelivery3
Posts: 3
Joined: Thu Jun 06, 2024 9:37 pm

Dialogue System Trigger - On Start Issues

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

Re: Dialogue System Trigger - On Start Issues

Post 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.
pizzadelivery3
Posts: 3
Joined: Thu Jun 06, 2024 9:37 pm

Re: Dialogue System Trigger - On Start Issues

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

Re: Dialogue System Trigger - On Start Issues

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