Page 1 of 1

Sequence Trigger (Script) vs Sequence Trigger (In Database)

Posted: Thu Aug 25, 2016 5:46 am
by ricjonsu098
What's the difference between the two? And also the advantages and disadvantages

Re: Sequence Trigger (Script) vs Sequence Trigger (In Database)

Posted: Thu Aug 25, 2016 9:26 am
by Tony Li
Hi,

Are you talking about this Sequence Trigger script:

Image

versus the Sequence field in the Dialogue Editor?

Image

If so, here are the differences:

The Sequence field runs when the Dialogue System shows the dialogue entry. (If the field is blank, the Dialogue System uses the Dialogue Manager's Default Sequence when showing the dialogue entry.)

The Sequence Trigger component runs outside of conversations. You can set it to run on a number of triggering events such as OnStart, OnEnable, OnTriggerEnter, etc. For example, in the Feature Demo scene, the Feature Demo GameObject has a Sequence Trigger that's set to OnStart. It runs the Fade(in) sequencer command when the scene starts.

Re: Sequence Trigger (Script) vs Sequence Trigger (In Database)

Posted: Sat Aug 27, 2016 6:40 am
by ricjonsu098
Oh I see, thank you