Back to TPG

TPG.Rush.Begin

S🏷️ Rush

Part of TPG namespace

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

Description

Start a Rush round, or clear Rush state if this round is something else. Called unconditionally from tpg.rounds.Setup every round -- the same pattern as TPG.CTF.SpawnFlags -- so the round loop does not have to know which modes need setting up. Runs AFTER TPG.Objectives.SpawnAll has already spawned the round's full objective list, and deliberately replaces it: Setup spawns whatever the map lists for the game type, and Rush wants one point rather than all of them.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.