Back to TPG

TPG.ControlPoint.StateToTeam

S🏷️ Controlpoint

Part of TPG namespace

TPG.ControlPoint.StateToTeam(state)
View on GitHub|gamemode/objectives/sh_controlpoint.lua:56-63
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The team that owns a capture state.

Parameters

NameTypeDescription
statenumberOne of the `STATE_*` values.

Returns

TypeDescription
numberTEAM_GREEN, TEAM_RED, or TEAM_UNASSIGNED for neutral.

Examples

No examples available.

Used In

No usages found in the codebase.