Difference between revisions of "Lua:UpdateTeamObjectiveIcon"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==UpdateTeamObjectiveIcon== Sets the objective icon for every player on a team. ===Usage=== <pre>UpdateTeamObjectiveIcon(team, entity)</pre> ===Input=== team(CF...) |
(No difference)
|
Revision as of 21:06, 11 May 2009
|
UpdateTeamObjectiveIconSets the objective icon for every player on a team. UsageUpdateTeamObjectiveIcon(team, entity) Inputteam(CFFTeam) The team that will see the objective. entity(CBaseEntity) The entity that will be the objective. Could be a flag, player, or trigger. Use nil to remove the objective. OutputReturns: nothing Example--set the objective to a cap point UpdateTeamObjectiveIcon( team, GetEntityByName( team.."_cap" ) ) --clear it after a cap UpdateTeamObjectiveIcon( player, nil ) |