|
1) Global 2) Random 3) Command 4) Speech 5) Cast 6) Zone Reset 7) Enter 8) Drop 9) UNUSED 10) UNUSED 11) UNUSED 12) UNUSED 13) UNUSED 14) UNUSED 15) UNUSED 16) Leave 17) Leave-All 18) Door |
- not a trigger type by itself; used in conjunction with Random. While Random triggers only trigger if players are in the zone, Global+Random triggers can trigger regardless. Argument: not used NArg: not used Return Value: none Variables: none - no specific event needs to occur for this trigger to be activated. Every 13 seconds , this trigger has a chance to run. If global is not specified, it will only run if a player is in the room. Argument: not used NArg: not used Return Value: none Variables: none - activated when a character performs a command in the room Argument: text which must be part of the command typed to filter out unintersting commands NArg: not used Return Value: if 0 is returned by the trigger the character will receive the same message as if the trigger did not exist, and any other command triggers will be checked Variables: %actor% the character performing the command %cmd% the exact command without arguments issued %arg% the arguments if any following the command - activates when matching text is spoken by a character in the room Argument: phrase or wordlist to be matched NArg: 0: argument is a substring that must be found within the speech to cause a match 1: argument is a list of words, any of which found in the speech will activate the trigger Return Value: none Variables: %actor% the character initiating the speech %speech% the entire phrase spoken - activated when a spell is cast in this room Argument: not used NArg: % chance the script will activate Return Value: 0: the spell will not be cast 1: the spell will be cast as normal Variables: %actor% the caster of the spell %spell% the number of the spell %spellname% the spells name %vict% the target of the spell if it's a player or NPC %obj% the target of the spell, if it's an object - this trigger type is currently unused and is listed only as a placeholder for possible future expansion
- activates every time the zone resets itself Argument: not used NArg: % chance the script will activate Return Value: none Variables: none - activates when a character enters or is teleported into the room Argument: not used NArg: % chance the script will activate Return Value: 0: the character will not be allowed to enter Variables: %actor% the character entering the room %direction% the direction the character has come from - activates when a character drops an object while inside the room Argument: not used NArg: % chance the script will activate Return Value: 0: the object will not be dropped Variables: %actor% the character attempting to drop the object %object% the item being dropped - activates when a character leaves the room Argument: not used NArg: % chance the script will activate Return Value: 0: the move will not take place 1: the move will happen as normal Variables: %actor% the character attempting to leave the room %direction% the direction the character has left in This trigger type is currently unimplemented
- activates when a character uses any of the door specific commands in a room 'open, close, lock, unlock, slice' Argument: not used NArg: % chance the script will activate Return Value: 0: the command will not execute 1: the command will execute as normal Variables: %actor% the character attempting use a door command %direction% the direction the door the command used on is in %cmd% the command used to activate the trigger |


