This is an old revision of the document!
GetMissionObjectiveState(<-objectiveNumber) ->state
Gets state (1, -1 or 0) of a mission objective. Mission objectives are defined in the game menu of a mission. When criteria is met, the objective is set to 1.
When the mission objective is failed, -1 is returned
Mission objectives are referenced by a number, 0-5.
0 = “Nullify Enemies”
1 = “Activate Totems”
2 = “Reclaim”
3 = “Survive”
4 = “Collect Items”
5 = “Custom”
GetMissionObjectiveState(5) ->customObjState
⇐ Index