Difference between pages "TRIGEDIT-OBJ-COMMAND TRIGEDIT-OBJECT-COMMAND TRIG-OBJ-COMMAND" and "TRIGEDIT-MOB-LEAVE"
From 4Dimensions
(Difference between pages)
(Bot: Automated import of articles) |
m |
||
| Line 1: | Line 1: | ||
| − | '''TRIGEDIT- | + | '''TRIGEDIT-MOB-LEAVE ''' |
[[Category:Help Files]] | [[Category:Help Files]] | ||
| + | [[Category:Building]] | ||
| − | + | 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 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | Example: {cRTSTAT | ||
Latest revision as of 12:35, 14 July 2017
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