Difference between revisions of "Trigger Edit Mode"

From Halfway
Jump to: navigation, search
(Listeners)
(Data)
 
(5 intermediate revisions by the same user not shown)
Line 24: Line 24:
 
*[[Moving Turret Target Trigger]]
 
*[[Moving Turret Target Trigger]]
 
====Listeners====
 
====Listeners====
 +
 +
Listeners are the part of the triggers system that are responsible to "listen" to something (event/object/trigger) and when this event is happening to give a signal to an action. See them as a link between actions and reactions.
 +
 
*[[Attribute Listener]]
 
*[[Attribute Listener]]
 
*[[Condition Listener]]
 
*[[Condition Listener]]
 
*[[Mission Briefing Listener]]
 
*[[Mission Briefing Listener]]
 
*[[Trigger Listener]]
 
*[[Trigger Listener]]
*[[Sequence Start Listener]]
+
*[[Sequence Begin Listener]]
 
*[[Sequence End Listener]]
 
*[[Sequence End Listener]]
  
 
====Actions====
 
====Actions====
*Action Multiplexer
+
Actions are the events that happen when a Listener is triggered. See them as a reaction to the an event. They can happen simultaneous at the same time so it can be a nonlinear chain of events.
*Active Attribute Action
+
 
*Activate Enemies Action
+
 
*Activate Trigger Action
+
*[[Action Multiplexer]]
*Camera Move Action
+
*[[Active Attribute Action]]
*Camera Return Action
+
*[[Activate Enemies Action]]
*Computer Turn Action
+
*[[Activate Trigger Action]]
*Change Object Status Action
+
*[[Camera Move Action]]
*Character Pickup Action
+
*[[Camera Return Action]]
*Dialog Action
+
*[[Computer Turn Action]]
*Display Tutorial Action
+
*[[Change Object Status Action]]
*Execute Attribute Action
+
*[[Character Pickup Action]]
*Finish Level
+
*[[Dialog Action]]
*Go To Extro Action
+
*[[Display Tutorial Action]]
*Go To Level Action
+
*[[Execute Attribute Action]]
*Go To Menu Action
+
*[[Finish Level]]
*Jump Sequence Action
+
*[[Go To Extro Action]]
*Timer Action
+
*[[Go To Level Action]]
*Move Character Action
+
*[[Go To Menu Action]]
*Play SFX
+
*[[Jump Sequence Action]]
*Prevent Enemy Spotted Action
+
*[[Timer Action]]
*Real Time Mode Action
+
*[[Move Character Action]]
*Screen Fade Action
+
*[[Play SFX]]
*Change Layer Visibility Action
+
*[[Prevent Enemy Spotted Action]]
 +
*[[Real Time Mode Action]]
 +
*[[Screen Fade Action]]
 +
*[[Change Layer Visibility Action]]
 +
 
 
====Data====
 
====Data====
*Background Music
+
 
*Default Squad Trigger
+
Data trigger are used to define some main settings in the level that will stay this way. They can be placed anywhere you want in the level. (Besides the Player starting point)
*Deactivate Skills Trigger
+
 
*Environment Trigger
+
*[[Background Music]]
*Homebase
+
*[[Default Squad Trigger]]
*Player Starting Point
+
*[[Deactivate Skills Trigger]]
*Tutorial
+
*[[Environment Trigger]]
*Mission Briefing Target
+
*[[Homebase]]
*Must Have Team
+
*[[Player Starting Point]]
 +
*[[Tutorial]]
 +
*[[Mission Briefing Target]]
 +
*[[Must Have Team]]

Latest revision as of 15:51, 16 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

Listeners are the part of the triggers system that are responsible to "listen" to something (event/object/trigger) and when this event is happening to give a signal to an action. See them as a link between actions and reactions.

Actions

Actions are the events that happen when a Listener is triggered. See them as a reaction to the an event. They can happen simultaneous at the same time so it can be a nonlinear chain of events.


Data

Data trigger are used to define some main settings in the level that will stay this way. They can be placed anywhere you want in the level. (Besides the Player starting point)