TRIG-ATTACH

From 4Dimensions
Jump to: navigation, search

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