TRIGEDIT-OBJ-LEAVE

From 4Dimensions
Jump to: navigation, search

TRIGEDIT-OBJ-LEAVE

Activated when someone leaves the room the obj is in.


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Used with return 0 will prevent the player from leaving the room.


Variables:

%actor% - the character leavering the room.

%direction% - the direction the character is leaving to.


Example: {cRTSTAT 89, 27147{c0