User Tools

Site Tools


triggers:mprog:timer

Differences

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

Link to this comparison view

Next revision
Previous revision
triggers:mprog:timer [2014/12/24 03:47]
vodur created
— (current)
Line 1: Line 1:
-TIMER 
- 
-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/mprog/timer.1419392855.txt.gz ยท Last modified: 2014/12/24 03:47 by vodur