This shows you the differences between two versions of the page.
triggers:timer [2014/12/23 20:00] (current)
|Line 1:||Line 1:|
|+||Keyword : 'timer'|
|+||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.|