Category:Team functions

From Fortress Forever Wiki
Revision as of 08:54, 12 May 2009 by Crazycarl (talk | contribs) (New page: These are functions that can be applied to a team. ===Usage=== CFFTeam:''function''(''parameters'') ===Example=== <pre>POINTS_PER_CAPTURE = 10 local team = player:GetTeam() --returns a C...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

These are functions that can be applied to a team.

Usage

CFFTeam:function(parameters)

Example

POINTS_PER_CAPTURE = 10
local team = player:GetTeam() --returns a CFFTeam object, on which we can run team functions.
team:AddScore(POINTS_PER_CAPTURE)

AddScore GetNumPlayers GetPlayer GetTeamId SetName SetAllies SetClassLimit SetPlayerLimit

See also Team Flags

This category currently contains no pages or media.