Sets the status of an objective that was defined in the Mission Briefing (see Edit the Mission Briefing in the VBS3 Editor Manual).
For example, to refer to an objective that is named
This name part does not have to be just a number - it can be any string (for example, if the objective is defined as
The current objective status cannot be read in any way, and the caption cannot be changed.
If the simulation option Cadet Mode and Training Hints is enabled, then a hint message is shown when an objective status changes. The message is "Mission plan updated", if it changes to "ACTIVE" or "FAILED", or "Objective completed" if it changes to "DONE".
|Syntax:||name objStatus status|
Mark the objective named "OBJ_1" as completed:
Hide the objective named "OBJ_DoThis":