Back to TPG

TPG.Maps.GetCustomFlagPoint

S🏷️ Custompoints

Part of TPG namespace

TPG.Maps.GetCustomFlagPoint()
View on GitHub|gamemode/maps/sv_custom_points.lua:146-150
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The single neutral CTF flag point, if an admin placed one. First placed wins: if more than one "ctf" point was ever added (see the de-duplication note on TPG.Maps.AddPoint), every one after the first is silently ignored. Consumed by tpg.ctf's GetFlagPoint/RollFlagPoint, which treat a custom point as an override that always beats the roll.

Parameters

No parameters.

Returns

TypeDescription
Vectornil if no CTF point has been placed.

Examples

No examples available.

Used In

No usages found in the codebase.