Difference between pages "TRIGEDIT-OBJ-CAST" 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-CAST'''
+
'''TRIGEDIT-OBJ-GIVE'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-OBJ-CAST
 
  
TRIGEDIT-OBJ-CAST
+
Activated when a player attempts to give this object to another character.
  
TRIGEDIT-OBJ-CAST
 
  
 +
If used with a return 0 the character will fail to give the object.
  
  
Activated when the obj is targetted by a spell.
 
  
 
+
Numeric Arg : percent chance this trigger will be activated.
Numeric Arg : percent chance this trigger will be activated.  
 
  
 
Argument    : not used.
 
Argument    : not used.
Line 19: Line 17:
  
  
Used with return 0 will cause the spell not to be cast.
+
Variables:
 
 
 
 
 
 
Variables:  
 
 
 
%actor%    - the caster of the spell
 
  
%spell%     - the number of the spell
+
%actor% - the character giving away the object
  
%spellname% - the name of the spell
+
%victim - the potential recipient of the object
  
  
  
Example: {cRTSTAT 90{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