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. Mission objectives range from 0 to 5 and are enumerated in acquiremissionobjective.

States are:

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

Examples

GetMissionObjectiveState(5) ->customObjState

See Also

4rpl/commands/getmissionobjectivestate.1687726651.txt.gz · Last modified: 2023/06/25 16:57 by Karsten75