Category:Schedules

From Fortress Forever Wiki
Jump to: navigation, search
Mapping for FF
The Basics

Setting up Hammer
Getting Started With Lua
Releasing a map

FF-specific Entities

Lua location system

Map Templates
FF Lua Documentation

Entity Typing
Entity Collections

Commands
Callbacks

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.