Index
Mission

GetMissionObjectiveState

GetMissionObjectiveState(<-objectiveNumber) ->state

Description

Gets state (1, -1 or 0) of a mission objective. Mission objectives are defined in the game menu of a mission.
Mission objectives are referenced by a number, 0-5.
0 = “Nullify Enemies”
1 = “Activate Totems”
2 = “Reclaim”
3 = “Survive”
4 = “Collect Items”
5 = “Custom”

States are:

0
Objective not (yet) achieved
1
Objective achieved
-1
Objective failed

Examples

GetMissionObjectiveState(5) ->customObjState

See Also

AcquireMissionObjective

Index