Difference between pages "TRIGEDIT-TRIGGER-TYPES" and "TRIGEDIT-ROOM-DROP"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-TRIGGER-TYPES'''
+
'''TRIGEDIT-ROOM-DROP'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-TRIGGER-TYPES
+
Activated any time a character attempts to drop an item in this room.
  
TRIGEDIT-TRIGGER-TYPES
 
  
TRIGEDIT-TRIGGER-TYPES
 
  
 +
If used with a return 0 the character will fail to drop anything.
  
  
3) Trigger types: {cyGreet{c0
+
Numeric Arg : percent chance this trigger will be activated.
  
This is a bitvector  of which kind of events this trigger is triggered by. This
+
Argument    : not used.
  
is the most important part of the trigger. It's here you decide if you want the
 
  
trigger to react on people dying in the room, dropping objects, saying stuff,
 
  
entering, jumping insanely up and down or whatever else you might think of.
+
Variables:
  
 +
%actor%  - the character attempting to drop the object
  
 +
%object% - the object the character is attempting to drop
  
This part is also the most important, in the sense that the rest of the triggers'
 
  
info means different things, depending on what trigger type the trigger has.
 
  
 
+
Example: {cRTSTAT 56{c0
 
 
For a full listing of types see: {cRHELP TRIGEDIT-TYPES{c0
 

Latest revision as of 13: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