User Tools

Site Tools


4rpl:commands:getmissionobjectivestate

This is an old revision of the document!


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. 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.

See AcquireMissionObjective for the enumeration of mission objectives.

Examples

GetMissionObjectiveState(5) ->customObjState

Index

4rpl/commands/getmissionobjectivestate.1619572776.txt.gz · Last modified: 2021/04/27 21:19 by Karsten75