Difference between pages "TRIGEDIT-MOB-DOOR" and "TRIGEDIT-MOB-COMMAND"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-MOB-DOOR '''
+
'''TRIGEDIT-MOB-COMMAND'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-MOB-DOOR
+
Activates when commands are performed in the same room as the mobile.
  
TRIGEDIT-MOB-DOOR
+
Does not work for level 32 and above.
  
TRIGEDIT-MOB-DOOR
+
Numeric Arg : not used.
  
 +
Argument    : text which must be part of the command typed to filter out
  
Activated when the mobile is in the same room as someone using the door specific
+
uninteresting commands.
  
commands 'close, open, pick, lock, unlock' on a door.
 
  
  
 +
If 0 is returned by the trigger, character will receive the same message as
  
Used with return 0 will prevent the command from executing.
+
if the trigger did not exist, and any other command triggers will be checked.
 
 
 
 
 
 
Numeric Arg : percent chance this trigger will be activated.
 
 
 
Argument    : not used.
 
 
 
  
  
 
Variables:
 
Variables:
  
%actor%     - the character using the command.
+
%actor% - the character issuing the command
  
%direction% - the direction the command is used on.
+
%cmd%   - the exact command (without arguments) issued
  
%cmd%       - the specific command activating the trigger 
+
%arg%   - the arguments, if any, following the command
  
  
  
Example: {cRTSTAT 78{c0
+
Example: {cRTSTAT 153, 1371, 62{c0

Latest revision as of 12:32, 14 July 2017

TRIGEDIT-MOB-COMMAND

Activates when commands are performed in the same room as the mobile.

Does not work for level 32 and above.

Numeric Arg : not used.

Argument  : text which must be part of the command typed to filter out

uninteresting commands.


If 0 is returned by the trigger, 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 issuing the command

%cmd% - the exact command (without arguments) issued

%arg% - the arguments, if any, following the command


Example: {cRTSTAT 153, 1371, 62{c0