Lua:SetTeamName

From Fortress Forever Wiki
Revision as of 05:56, 20 June 2006 by Mulchman MM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

SetTeamName

SetTeamClassName is used to set the name of a team in game (instead of just "Red Team", or "Blue Team"). It must be placed in your map's startup() function and gets passed 2 parameters:

SetTeamClassLimit( team, name )
team - team to set limits on
name - [a string] the name of the team (like "Attackers")

In this example, we will make red team be called "Flag Hoppers":

Example .LUA startup() function

function startup()
     -- Make red team's name be "Flag Hoppers"
     SetTeamName( RED_TEAM, "Flag Hoppers" )
end