Difference between pages "TRIGEDIT-MOB-LEAVE" 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-LEAVE '''
+
'''TRIGEDIT-MOB-COMMAND'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-MOB-LEAVE
+
Activates when commands are performed in the same room as the mobile.
  
TRIGEDIT-MOB-LEAVE
+
Does not work for level 32 and above.
  
TRIGEDIT-MOB-LEAVE
+
Numeric Arg : not used.
  
 +
Argument    : text which must be part of the command typed to filter out
  
 +
uninteresting commands.
  
Activated when someone leaves the room the mob is in if the mob can see the person.
 
  
  
 +
If 0 is returned by the trigger, character will receive the same message as
  
Numeric Arg : percent chance this trigger will be activated.  
+
if the trigger did not exist, and any other command triggers will be checked.
  
Argument    : not used.
 
  
 +
Variables:
  
 +
%actor% - the character issuing the command
  
Used with return 0 will prevent the player from leaving the room.
+
%cmd%  - the exact command (without arguments) issued
  
 +
%arg%  - the arguments, if any, following the command
  
  
Variables:
 
  
%actor%    - the character leavering the room.
+
Example: {cRTSTAT 153, 1371, 62{c0
 
 
%direction% - the direction the character is leaving to.
 
 
 
 
 
 
 
Example: {cRTSTAT 77{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