Category:Team functions

From Fortress Forever Wiki
Revision as of 08:55, 12 May 2009 by Crazycarl (talk | contribs)
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.