Difference between revisions of "Trigger Edit Mode"

From Halfway
Jump to: navigation, search
(Listeners)
(Actions)
Line 32: Line 32:
  
 
====Actions====
 
====Actions====
*Action Multiplexer
+
*[[Action Multiplexer]]
*Active Attribute Action
+
*[[Active Attribute Action]]
*Activate Enemies Action
+
*[[Activate Enemies Action]]
*Activate Trigger Action
+
*[[Activate Trigger Action]]
*Camera Move Action
+
*[[Camera Move Action]]
*Camera Return Action
+
*[[Camera Return Action]]
*Computer Turn Action
+
*[[Computer Turn Action]]
*Change Object Status Action
+
*[[Change Object Status Action]]
*Character Pickup Action
+
*[[Character Pickup Action]]
*Dialog Action
+
*[[Dialog Action]]
*Display Tutorial Action
+
*[[Display Tutorial Action]]
*Execute Attribute Action
+
*[[Execute Attribute Action]]
*Finish Level
+
*[[Finish Level]]
*Go To Extro Action
+
*[[Go To Extro Action]]
*Go To Level Action
+
*[[Go To Level Action]]
*Go To Menu Action
+
*[[Go To Menu Action]]
*Jump Sequence Action
+
*[[Jump Sequence Action]]
*Timer Action
+
*[[Timer Action]]
*Move Character Action
+
*[[Move Character Action]]
*Play SFX
+
*[[Play SFX]]
*Prevent Enemy Spotted Action
+
*[[Prevent Enemy Spotted Action]]
*Real Time Mode Action
+
*[[Real Time Mode Action]]
*Screen Fade Action
+
*[[Screen Fade Action]]
*Change Layer Visibility Action
+
*[[Change Layer Visibility Action]]
 +
 
 
====Data====
 
====Data====
 
*Background Music
 
*Background Music

Revision as of 15:49, 11 September 2014

How to

With triggers you can actually script nearly everything that you want without touching code. The whole concept behind triggers is, that you have a action that sets the script of and then goes through the events you connected. In most cases this are linear events chains, but sometimes you can have multiple events going of at the same time.

The basic setup is normaly:

  1. Have a Listner that is connect to an atribute (like a door/box etc to be triggered) or an other trigger
  2. Then this "Start Listner" is connected to an Action
    1. See it as an action -> reaction system
  3. From this action you could finish or connect a Trigger Listner to another action and so fort

Some things to know about the triggers

To go to the settings of a trigger just double L-Click it.  See the list below for the settings.
  • Each trigger chain needs to have a "Sequence Begin Listner" at the first action of chain.
  • Each trigger chain needs to have a "Sequence End Listner" at the end of the script or the game goes in a endless loop.

Trigger List

Here is a list of currently available Triggers.

Misc Triggers

Listeners

Actions

Data

  • Background Music
  • Default Squad Trigger
  • Deactivate Skills Trigger
  • Environment Trigger
  • Homebase
  • Player Starting Point
  • Tutorial
  • Mission Briefing Target
  • Must Have Team