Trig block heathen

From The Final Challenge Wiki
Revision as of 15:13, 1 November 2012 by Natilena (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

trig_block_heathen is a Extended Trigger Before Move trigger. It blocks non-followers from using the specified exit. This trigger can only be (usefully) specified on an exit only once.

Usage:

Q <room vnum> <door direction> trig_block_heathen <FLI PC number> <success msg or -1> <failure msg or -1> -1 <flags>

Field Description
Room vnum Room to apply the trigger to
Door direction The direction of the door to apply the trigger to
Number Direction
0 North
1 East
2 South
3 West
4 Up
5 Down
FLI PC Number The PC number of the FLI
Success string vnum -1 - No success message
#STRINGS vnum with success message
Fail string vnum -1 - No failure message
#STRINGS vnum with failure message
-1 Unused field (-1 required)
flags Specifies options that alters the operation of the trigger. Add modifiers together:
1 - Allow unaligned PCs
2 - Allow mortals venerating target PC
4 - Allow NPCs

Example:

Q 1200 1 trig_block_heathen 1 1200 1201 -1 3 * In room 1200, trigger to east, followers of Tynian, but also unaligned and those venerating Tynian
S