User Tools

Site Tools


4rpl:commands:getmissionobjectivestate

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getmissionobjectivestate [2021/01/08 11:01] – external edit 127.0.0.14rpl:commands:getmissionobjectivestate [2023/11/20 00:26] (current) – Added objective number referense. Vertu
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 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"\\ 0 = "Nullify Enemies"\\
 1 = "Activate Totems"\\ 1 = "Activate Totems"\\
Line 15: Line 15:
 4 = "Collect Items"\\ 4 = "Collect Items"\\
 5 = "Custom" 5 = "Custom"
 +
 +States are: 
 +  ? 0
 +  : Objective not (yet) achieved
 +  ? 1
 +  : Objective achieved
 +  ? -1
 +  : Objective failed
 +  
 +
 +
  
 ===== Examples ===== ===== Examples =====
Line 20: Line 31:
 GetMissionObjectiveState(5) ->customObjState GetMissionObjectiveState(5) ->customObjState
 </code> </code>
 +
 +==== See Also ====
 +
 +[[AcquireMissionObjective]]
 +
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/getmissionobjectivestate.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1