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
Last revisionBoth sides next revision
4rpl:commands:getmissionobjectivestate [2021/01/08 14:49] Regallion4rpl:commands:getmissionobjectivestate [2023/06/25 16:57] – revised description removed confusing material regarding true/false Karsten75
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<=[[4rpl:start#mission| Mission]]
  
 ====== GetMissionObjectiveState ====== ====== GetMissionObjectiveState ======
Line 6: 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 range from to and are  enumerated in [[acquiremissionobjective]]
-Mission objectives are referenced by a number, 0-5. \\ + 
-= "Nullify Enemies"\\ +States are:  
-= "Activate Totems"\\ +  ? 
-2 = "Reclaim"\\ +  : Objective not (yet) achieved 
-3 = "Survive" \\ +  ? 
-4 = "Collect Items"\\ +  : Objective achieved 
-5 = "Custom"+  ? -1 
 +  : Objective failed 
 +   
 + 
  
 ===== Examples ===== ===== Examples =====
Line 20: Line 25:
 GetMissionObjectiveState(5) ->customObjState GetMissionObjectiveState(5) ->customObjState
 </code> </code>
 +
 +==== See Also ====
 +
 +[[AcquireMissionObjective]]
 +
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/getmissionobjectivestate.txt · Last modified: 2023/11/20 00:26 by Vertu