Difference between pages "NUMERIC-ARGUMENTS NUMARG NARG TRIGEDIT-NUMERIC-ARGUMENTS TRIGEDIT-ARGUMENTS" and "TRIGEDIT-ROOM-CAST"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''NUMERIC-ARGUMENTS NUMARG NARG TRIGEDIT-NUMERIC-ARGUMENTS TRIGEDIT-ARGUMENTS '''
+
'''TRIGEDIT-ROOM-CAST'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
NUMERIC-ARGUMENTS NUMARG NARG TRIGEDIT-NUMERIC-ARGUMENTS TRIGEDIT-ARGUMENTS
+
Activated if a spell is cast in the room.
  
NUMERIC-ARGUMENTS NUMARG NARG TRIGEDIT-NUMERIC-ARGUMENTS TRIGEDIT-ARGUMENTS
 
  
NUMERIC-ARGUMENTS NUMARG NARG TRIGEDIT-NUMERIC-ARGUMENTS TRIGEDIT-ARGUMENTS
 
  
 +
Numeric Arg : percent chance this trigger will be activated.
  
 +
Argument    : not used.
  
4) Numeric Arg : {cy100{c0
 
  
5) Arguments  :
 
  
 +
Used with return 0 will cause the spell not to be cast.
  
  
Dependant on the trigger type, these values will mean different things. For
 
  
instance, if you've decided to use a hitpcnt trigger, the numeric Arg is the
+
Variables:
  
percent a mobs hit points have to fall to, before the trigger is activated,
+
%actor%    - the caster of the spell
  
and the command list is executed.
+
%spell%    - the number of the spell
 +
 
 +
%spellname% - the name of the spell
 +
 
 +
%vict%      - the target (mob/player) of the spell, if any.
 +
 
 +
%obj%      - the target (object) of the spell, if any.
 +
 
 +
 
 +
 
 +
Example: {cRTSTAT 57{c0

Latest revision as of 12:47, 14 July 2017

TRIGEDIT-ROOM-CAST

Activated if a spell is cast in the room.


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Used with return 0 will cause the spell not to be cast.


Variables:

%actor% - the caster of the spell

%spell% - the number of the spell

%spellname% - the name of the spell

%vict% - the target (mob/player) of the spell, if any.

%obj% - the target (object) of the spell, if any.


Example: {cRTSTAT 57{c0