Back to TPG

TPG.Rush.BuildStages

S🏷️ Rush

Part of TPG namespace

TPG.Rush.BuildStages()
View on GitHub|gamemode/objectives/sv_rush.lua:135-155
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The points this round will reveal, in order. An authored [GAMEMODE_RUSH] block wins if the map has one -- that is the hand-tuned reveal order. Otherwise the control point list is borrowed and shuffled, so the same map does not open on the same point every round. Capped at whichever is smaller, TPG.Config.rushStages or what MaxStages says the time budget affords -- the ceiling and the clock, and the round obeys both. A map with fewer points than that runs fewer stages still, rather than revealing one twice: a stage whose point the losing team already learned is not the same stage.

Parameters

No parameters.

Returns

TypeDescription
{table,...}Objective entries, `{ pos = Vector, name = string }`.

Examples

No examples available.

Used In

No usages found in the codebase.