User Tools

Site Tools


4rpl:commands:getmissionobjectivestate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:getmissionobjectivestate [2021/04/27 21:19] Karsten754rpl:commands:getmissionobjectivestate [2023/11/20 00:26] (current) – Added objective number referense. Vertu
Line 7: Line 7:
  
 ===== Description ===== ===== 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. +Gets state (1, -1 or 0) of a mission objective. Mission objectives are defined in the game menu of a mission.\\ 
-When the mission objective is failed, -1 is returned +Mission objectives are referenced by a number, 0-5.\\ 
-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
 +  
  
  
-See [[AcquireMissionObjective]] for the enumeration of mission objectives.  
  
 ===== Examples ===== ===== Examples =====
Line 19: Line 31:
 GetMissionObjectiveState(5) ->customObjState GetMissionObjectiveState(5) ->customObjState
 </code> </code>
 +
 +==== See Also ====
 +
 +[[AcquireMissionObjective]]
 +
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/getmissionobjectivestate.1619572776.txt.gz · Last modified: 2021/04/27 21:19 by Karsten75