TRIGEDIT-MOB-LEAVE

From 4Dimensions
Jump to: navigation, search

TRIGEDIT-MOB-LEAVE

Activated when someone leaves the room the mob is in if the mob can see the person.


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 77{c0