User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

triggers:timer [2014/12/23 20:00] (current)
vodur created
Line 1: Line 1:
 +Keyword : '​timer'​
 +Argument: number
 +Explanation:​ This trigger works identically for mprogs/​oprogs/​aprogs. This trigger will fire every x seconds (x being whatever number is provided in the argument).
 +For mobs and objects, the timer is initiated upon loading, so if adding with addmp/​addop,​ you will need to reload the mob/object for the trigger to activate.
 +For areas, the timer will initiate when area is loaded (boot/​copyover) or immediately when added with addap.
 +Only 1 timer trigger is allowed for any given mob/​object/​area. If you need different actions at different intervals, you can simple use an interval that is the least common denominator and perform logic in the prog accordingly.
triggers/timer.txt ยท Last modified: 2014/12/23 20:00 by vodur