Triggers Block

From The Final Challenge Wiki
Revision as of 13:44, 5 October 2012 by Cordir (talk | contribs) (Triggers Block)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The block starts with the string "#TRIGGERS" without quotes, followed by one or more trigger records, and ending with the string "S" without quotes.


This is an example of a triggers block:

#TRIGGERS 
trigger 1: see syntax for a trigger record for layout 
trigger 2: see syntax for a trigger record for layout 
trigger 3: see syntax for a trigger record for layout 
. 
. 
. 
S 

Area File Example:

#TRIGGERS
A 10000 1 spec_short_fall  * Room Name
S

In the example above, moving EAST from room 10000 would trigger the special function Short Fall, causing a minor amount of damage to the player.

Area Special Functions