objStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
Line 32: Line 32:


}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 15:47, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets the status of an objective that was defined in briefing.html. Status may be one of:
  • "ACTIVE"
  • "FAILED"
  • "DONE"
  • "HIDDEN"
To refer to an objective that is named "OBJ_1", for example, use only the index number in this command (i.e. "1" objStatus "HIDDEN").
Groups:
Briefing

Syntax

Syntax:
objectivenumber objStatus status
Parameters:
objectivenumber: String
status: String
Return Value:
Nothing

Examples

Example 1:
"1" objStatus "DONE" Marks the objective named "OBJ_1" as completed.

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Bottom Section