Back to TPG

TPG.Rush.Think

S🏷️ Rush

Part of TPG namespace

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

Description

Advance the live stage by one scoring step. Called from the same fixed-step Think that drives tpg.objectives.ProcessScoring, so the hold clock does not depend on tickrate, and does nothing at all unless a Rush round is live. Reads the point's CapOwnership (-1 red, 0 neutral, 1 green) rather than counting who is standing on it: ownership is what the capture logic already resolved, so the hold starts when the point has actually FLIPPED, not when someone walked onto it.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.