Difference between revisions of "TRIG-ATTACH"

From 4Dimensions
Jump to: navigation, search
(Bot: Automated import of articles)
 
(No difference)

Latest revision as of 05:00, 26 January 2016

TRIG-ATTACH

TRIG-ATTACH

TRIG-ATTACH

TRIG-ATTACH


Usage: attach vnum id

  • This small trigger will attach a trigger to the carrier this can for instance
  • be used if you want the mob to change attitude by adding another trigger
  • (ie - mob was mad - mob got apple - mob gets a 'nicer' trigger attached

attach 3001 %self.id%


This command allows a script to attach a trigger (referenced by vnum) to

anything capable of receiving triggers, by id number. (%self.id%, %object.id%,

and %actor.id% are examples of id numbers, for use with this command.)


See Also: ATTACH DETACH TRIG-DETACH