Difference between pages "VDELETE" and "TRIGEDIT-ROOM-DROP"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''VDELETE'''
+
'''TRIGEDIT-ROOM-DROP'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
VDELETE
+
Activated any time a character attempts to drop an item in this room.
  
VDELETE
 
  
VDELETE
 
  
 +
If used with a return 0 the character will fail to drop anything.
  
  
Usage: vdelete <variablename> <id>
+
Numeric Arg : percent chance this trigger will be activated.
  
 +
Argument    : not used.
  
  
Use this to remove a Variable from either mob, room, obj, or player.
 
  
 +
Variables:
  
 +
%actor%  - the character attempting to drop the object
  
Examples: vdelete has_solved_quest 5351
+
%object% - the object the character is attempting to drop
  
  
  
To determine the player ID stat player
+
Example: {cRTSTAT 56{c0
 
 
> stat file test
 
 
 
male PC 'Test'  IDNum: [ 3531], In room [    0]
 
 
 
 
 
 
 
See Also: [[REMOTE]]  [[RDELETE]]
 

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