TRIGEDIT-MOB-LEAVE

building

Also known as: TRIG-MOB-LEAVE · TRIGEDIT-MOB-EXIT · TRIG-MOB-EXIT

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 leaving the room. %direction% - the direction the character is leaving to. %self% - the mobile. Example: TSTAT 77, 133-136, 3000-3003