Difference between revisions of "Category:Team functions"

From Fortress Forever Wiki
Jump to navigationJump to search
(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...)
(No difference)

Revision as of 08:54, 12 May 2009

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.