TRIGEDIT-ROOM-LEAVE
From 4Dimensions
TRIGEDIT-ROOM-LEAVE
Activated when someone leaves the room.
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 leaving the room.
%direction% - the direction the character is leaving to.
Example: {cRTSTAT 58{c0