Triggers Block

From TFCWiki - The Final Challenge MUD's Player Information Resource
Jump to: navigation, 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