Part of TPG namespace
TPG.Objectives.SpawnAll(objectiveList)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Remove the current control points and spawn this round's set. Clears TPG.State.objectives first, so it is safe to call on a live round. An empty or missing list leaves the round with no objectives at all, which in most modes means one that can never end -- a map with no block for the current game type is the usual cause. returned by TPG.Maps.GetObjectives. Names default to "Point N".
Parameters
| Name | Type | Description |
|---|---|---|
objectiveList | table | Entries of `{ pos = Vector, name = string }`, as |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.