Difference between pages "TRIGEDIT-OBJ-COMMAND TRIGEDIT-OBJECT-COMMAND TRIG-OBJ-COMMAND" and "TRIGEDIT-ROOM-DROP"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-OBJ-COMMAND TRIGEDIT-OBJECT-COMMAND TRIG-OBJ-COMMAND'''
+
'''TRIGEDIT-ROOM-DROP'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-OBJ-COMMAND TRIGEDIT-OBJECT-COMMAND TRIG-OBJ-COMMAND
+
Activated any time a character attempts to drop an item in this room.
  
TRIGEDIT-OBJ-COMMAND TRIGEDIT-OBJECT-COMMAND TRIG-OBJ-COMMAND
 
  
TRIGEDIT-OBJ-COMMAND TRIGEDIT-OBJECT-COMMAND TRIG-OBJ-COMMAND
 
  
 +
If used with a return 0 the character will fail to drop anything.
  
  
Activates when commands are performed in the same room as the object.
+
Numeric Arg : percent chance this trigger will be activated.
  
This does not work for level 32 and above.
+
Argument    : not used.
 
 
 
 
 
 
Numeric Arg : a bitfield to indicate where the object must be in order to cause
 
 
 
the trigger to activate.
 
 
 
Bits: 1: In character's worn equipment.
 
 
 
2: In character's carried inventory.
 
 
 
4: In same room with the character.
 
 
 
These bits can be set at once by adding the values.
 
 
 
7= worn, inv, room. 3 = worn, inv. 5 = worn, room.
 
 
 
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 44: Line 18:
 
Variables:
 
Variables:
  
%actor% - the character issuing the command
+
%actor% - the character attempting to drop the object
 
 
%cmd%  - the exact command (without arguments) issued
 
  
%arg%   - the arguments, if any, following the command
+
%object% - the object the character is attempting to drop
  
  
  
Example: {cRTSTAT 81{c0
+
Example: {cRTSTAT 56{c0

Latest revision as of 14:15, 14 July 2017

TRIGEDIT-ROOM-DROP

Activated any time a character attempts to drop an item in this room.


If used with a return 0 the character will fail to drop anything.


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Variables:

%actor% - the character attempting to drop the object

%object% - the object the character is attempting to drop


Example: {cRTSTAT 56{c0