Dialogue System Trigger

Component > Pixel Crushers Dialogue System > Trigger > Dialogue System Trigger

The Dialogue System Trigger component can perform many Dialogue System actions when a triggering event occurs.

Properties

Property Function
Trigger The trigger that causes this component to fire. (See note below about OnStart.)
Reference Database The dialogue database to use when setting up this component. If this isn't the Dialogue Manager's Initial Database, you must remember to load it (e.g., using Extra Databases).
Conditions The Conditions that must be true for the component to fire.
Actions The actions to run when the component fires.

Details

This component can perform many of the Dialogue System's functions when triggered. It's covered in detail in Triggers & Interaction.

If you're making a 2D project in Unity 2018+, see Enable Physics2D Support.

Notes:

  1. The Start Conversation action has a 'Stop Conversation If Too Far' option. This monitors the distance between the Conversation Actor and the Dialogue System Trigger itself.
  2. When Trigger is set to OnStart, if you're using the save system the trigger may start before the save system has applied save data. Use OnSaveDataApplied instead, or set DialogueManager.onStartTriggerWaitForSaveDataApplied = true in code.

<< Component Reference