User Tools

Site Tools


4rpl:commands:getmissionobjectivestate

This is an old revision of the document!


Index

GetMissionObjectiveState

GetMissionObjectiveState(<-objectiveNumber) ->state

Description

Gets state (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”

Examples

GetMissionObjectiveState(5) ->customObjState

Index

4rpl/commands/getmissionobjectivestate.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1