ctf_team

A datum that holds details about individual CTF teams, any team specific CTF functionality should be implimented here.
Vars | |
| points | Total score that this team currently has. |
|---|---|
| spawner | Reference to the spawn point that this team uses. |
| team_color | What color this team is, also acts as a team name. |
| team_members | Assoc list containing a list of team members ckeys and the associated ctf_player components. |
| team_span | Span used for messages sent to this team. |
Procs | |
| Destroy | If the team is destroyed all players in that team need their componenet removed. |
| message_team | Sends a message to all players in this team. |
| reset_team | Resets this teams score and clears its member list. All members will be dusted and have their player componenet removed. |
| score_points | Increases this teams number of points by the provided amount. |
Var Details
points

Total score that this team currently has.
spawner

Reference to the spawn point that this team uses.
team_color

What color this team is, also acts as a team name.
team_members

Assoc list containing a list of team members ckeys and the associated ctf_player components.
team_span

Span used for messages sent to this team.
Proc Details
Destroy
If the team is destroyed all players in that team need their componenet removed.
message_team
Sends a message to all players in this team.
reset_team
Resets this teams score and clears its member list. All members will be dusted and have their player componenet removed.
score_points
Increases this teams number of points by the provided amount.