Difference between pages "TRIGEDIT-NAMES TRIG-NAMES" and "TRIGGER-EDITORS"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-NAMES TRIG-NAMES'''
+
'''TRIGGER-EDITORS'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-NAMES TRIG-NAMES
 
  
TRIGEDIT-NAMES TRIG-NAMES
+
A trigger consists of the type, information on when to execute it, a list of
  
TRIGEDIT-NAMES TRIG-NAMES
+
commands, and a list of variables. Each class of game object (mobiles, objects,
  
 
+
and rooms) have their own set of triggers.
 
 
1) Name        : {cynew trigger{c0
 
 
 
 
 
 
 
Always use names that explain the trigger. More importantly: always include the
 
 
 
VNUM for the mob/obj/room the trigger is going to be attached to.
 
 
 
 
 
 
 
It's important to give your trigger a name you and others can understand.
 
 
 
Even more important is including the VNUM of what it is attached to. This way
 
 
 
tlist and stat will show the name description and VNUM allowing others to
 
 
 
quickly comprehend what the trigger does. A good name could be 'guard shout for
 
 
 
help - 101' or 'mage cast poison - 300' even 'cursed object - 130.'
 
 
 
 
 
 
 
Examples:
 
 
 
Quest Offer - 1310      --> trigger attached to mob 1310
 
 
 
Fall Down Stairs - 1300  --> trigger attached to room 1300
 
 
 
No Dropping Stuff - 1301 --> trigger attached to obj 1301
 

Latest revision as of 15:30, 14 July 2017

TRIGGER-EDITORS


A trigger consists of the type, information on when to execute it, a list of

commands, and a list of variables. Each class of game object (mobiles, objects,

and rooms) have their own set of triggers.