GSC reference › Built-in
ServerObjective_GetObjectiveGameModeFlags()
Built-in (engine)
Client
Returns the origin of the objective
Signature
ServerObjective_GetObjectiveGameModeFlags(<localClientNum>, <objectiveID>)
Parameters
| Name | Required? | Details |
|---|---|---|
| localClientNum | Required | The local client number |
| objectiveID | Required | The index of objective |
Example (from Treyarch's docs)
origin = ServerObjective_GetObjectiveGameModeFlags( localClientNum, objective_num )
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- Objective_GetGamemodeFlags()Gets the gamemode flags for the objective.
- Objective_SetGamemodeFlags()Sets the gamemode flags for the objective.
- ServerObjective_GetObjective()Returns the index of the objective or undefined if it does not exist
- ServerObjective_GetObjectiveEntity()Returns the entity of the objective
- ServerObjective_GetObjectiveOrigin()Returns the index of the objective or undefined if it does not exist
- ServerObjective_GetObjectiveTeam()Returns the origin of the objective
- GetEquipmentHeadObjective()Returns the equipment head objective as described in the grenadeweapon gdt.
- GetCrateHeadObjective()Returns the equipment head objective as described in the grenadeweapon gdt.
- Objective_SetUIModelValue()Set a UI Model Value for an objective
- ServerObjective_GetObjectiveProgress()Returns the origin of the objective
- GetGametypeSetting()Gets the value of a gametype setting.
- GetUIModel()Returns a UIModel from the parent model passed in and the name of the model to retrieve.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).