Dialogue System Trigger - On Start Issues
-
- Posts: 3
- Joined: Thu Jun 06, 2024 9:37 pm
Dialogue System Trigger - On Start Issues
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
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.
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.
-
- Posts: 3
- Joined: Thu Jun 06, 2024 9:37 pm
Re: Dialogue System Trigger - On Start Issues
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
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.
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.