TPG.Maps.GetObjectives(gameType)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
The current map's objective positions for a game type. Returns an empty list when the map has no block for that mode, which is why a new mode can appear to run but never end. Fed straight to tpg.objectives.SpawnAll.
Parameters
| Name | Type | Description |
|---|---|---|
gameType | number | A `GAMEMODE_*` constant. |
Returns
| Type | Description |
|---|---|
table | List of `{ pos = Vector, name = string }`; empty, never nil. |
Examples
No examples available.
Used In
No usages found in the codebase.