Difference between pages "TRIGEDIT-ROOM-COMMAND" and "TRIGEDIT-OBJ-GET"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-ROOM-COMMAND'''
+
'''TRIGEDIT-OBJ-GET'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-ROOM-COMMAND
+
Activated any time a character attempts to pick up this object.
  
TRIGEDIT-ROOM-COMMAND
 
  
TRIGEDIT-ROOM-COMMAND
+
Numeric Arg : percentage chance this trigger will activate.
  
 +
Argument    : not used.
  
  
Activates when commands are performed in the room.
 
  
Does not work for level 32 and above.
+
If used with a return 0 the character will fail to pick the object up.
 
 
 
 
 
 
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.
 
  
  
Line 32: Line 18:
 
Variables:
 
Variables:
  
%actor% - the character issuing the command
+
%actor% - the character trying to get the object
 
 
%cmd%  - the exact command (without arguments) issued
 
 
 
%arg%  - the arguments, if any, following the command
 
  
  
  
Example: {cRTSTAT 52{c0
+
Example: {cRTSTAT 83{c0

Latest revision as of 12:44, 14 July 2017

TRIGEDIT-OBJ-GET

Activated any time a character attempts to pick up this object.


Numeric Arg : percentage chance this trigger will activate.

Argument  : not used.


If used with a return 0 the character will fail to pick the object up.


Variables:

%actor% - the character trying to get the object


Example: {cRTSTAT 83{c0