Back to TPG

TPG.ControlPoint.TeamToState

S🏷️ Controlpoint

Part of TPG namespace

TPG.ControlPoint.TeamToState(teamId)
View on GitHub|gamemode/objectives/sh_controlpoint.lua:69-76
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The capture state a team owns a point in. Inverse of StateToTeam.

Parameters

NameTypeDescription
teamIdnumberTEAM_GREEN or TEAM_RED.

Returns

TypeDescription
numberA `STATE_*` value; neutral for anything else.

Examples

No examples available.

Used In

No usages found in the codebase.