Back to TPG

TPG.CTF.GetFlagPoint

S🏷️ Ctf

Part of TPG namespace

TPG.CTF.GetFlagPoint()
View on GitHub|gamemode/objectives/sv_ctf.lua:63-67
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The flag's home anchor: an admin-placed CTF point, else the map's KOTH point. This is the "can this map host CTF at all" answer. The spot the flag actually uses for a given round comes from RollFlagPoint.

Parameters

No parameters.

Returns

TypeDescription
Vectornil if the map has neither.

Examples

No examples available.

Used In

No usages found in the codebase.