Difference between pages "TRIGEDIT-OBJ-REMOVE" and "TRIGEDIT-OBJ-GIVE"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-OBJ-REMOVE'''
+
'''TRIGEDIT-OBJ-GIVE'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-OBJ-REMOVE
 
  
TRIGEDIT-OBJ-REMOVE
+
Activated when a player attempts to give this object to another character.
  
TRIGEDIT-OBJ-REMOVE
 
  
 +
If used with a return 0 the character will fail to give the object.
  
  
Activated each time a character tries to remove the object.
 
  
 
+
Numeric Arg : percent chance this trigger will be activated.
 
 
Numeric Arg : not used.
 
  
 
Argument    : not used.
 
Argument    : not used.
Line 20: Line 17:
  
  
With a return 0 the object is not removed.
+
Variables:
 
 
  
 +
%actor% - the character giving away the object
  
Variables:
+
%victim - the potential recipient of the object
 
 
%actor%  - the character attempting to remove the object
 
  
  
  
Example: {cRTSTAT 87{c0
+
Example: {cRTSTAT 85{c0

Latest revision as of 11:44, 14 July 2017

TRIGEDIT-OBJ-GIVE


Activated when a player attempts to give this object to another character.


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


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Variables:

%actor% - the character giving away the object

%victim - the potential recipient of the object


Example: {cRTSTAT 85{c0