Category:Schedules
From Fortress Forever Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
|
Schedules are a way to delay the effects of a script for a specific length of time. For example, time-delayed events such as returning dropped flags, or giving players a break between rounds. They can repeat, such as if you wanted to give a player ammo every 10 seconds.
LUA Command | Description |
---|---|
AddSchedule("name", time, function[, param1 ... param4]) | Schedules function to go off with (time) second delay. Optional parameters are applied to the function. |
AddScheduleRepeating("name", time, function[, param1 ... param4]) | Adds a schedule that repeats (function) constantly every (time) seconds. |
AddScheduleRepeatingNotInfinitely("name", time, function, counts[, param1 ... param4]) | Adds a schedule that repeats (function) (counts) times every (time) seconds. |
DeleteSchedule( schedulename ) | deletes an existing schedule. |
RemoveSchedule( schedulename ) | same as delete. |
Pages in category "Schedules"
The following 5 pages are in this category, out of 5 total.