Difference between pages "TRIG-DETACH" and "TRIGEDIT-ROOM-DROP"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIG-DETACH'''
+
'''TRIGEDIT-ROOM-DROP'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIG-DETACH
+
Activated any time a character attempts to drop an item in this room.
  
TRIG-DETACH
 
  
TRIG-DETACH
 
  
 +
If used with a return 0 the character will fail to drop anything.
  
  
Usage: detach <vnum | all> id
+
Numeric Arg : percent chance this trigger will be activated.
  
* if we - as described in the attach example, want our mob/obj/room to behave
+
Argument    : not used.
* differently, it's not always enough to just add another trigger with attach.
 
* it might be necessary to remove some old ones :
 
detach 3000 %self.id%
 
or
 
  
detach all %self.id%
 
  
  
 +
Variables:
  
The opposite of attach, this removes triggers from the specified target.
+
%actor%  - the character attempting to drop the object
  
 +
%object% - the object the character is attempting to drop
  
  
Example: {cRTSTAT 45{c0
 
  
 
+
Example: {cRTSTAT 56{c0
 
 
See Also: [[ATTACH]]  [[DETACH]]  [[TRIG-ATTACH]]
 

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