Skip to main content

TRIGGER_TICK

Keywords: TRIGGER_TICK
Syntax: TICK <percent> The argument is a percentage, this trigger is checked at each tick change and if the argument is greater than a percentage roll the trigger is activated. This will happen even if there is no PC in the room with the mobile. It will be activated no matter the position of the mobile (resting, sleeping, etc.). It is not a good trigger to interact with players, since players don't activate this trigger and some variables ($n) would not work properly, but the random variable ($r) works fine. Examples: TICK 20 This trigger will be activated when the tick changes and if the percentage roll is lower than 20. TICK 100 This trigger will be activated in each the tick changes.