objStatus: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
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"). | 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"). | ||
|= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| objectivenumber '''objStatus''' status |= | | objectivenumber '''objStatus''' status |SYNTAX= | ||
|p1= objectivenumber: [[String]] |= | |p1= objectivenumber: [[String]] |PARAMETER1= | ||
|p2= status: [[String]] |= | |p2= status: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>"1" objStatus "DONE"</pre> | |x1= <pre>"1" objStatus "DONE"</pre> | ||
Marks the objective named "OBJ_1" as completed. |= | Marks the objective named "OBJ_1" as completed. |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
}} | }} |
Revision as of 14:44, 7 April 2019
Description
- Description:
- Sets the status of an objective that was defined in briefing.html.
Status may be one of:
- "ACTIVE"
- "FAILED"
- "DONE"
- "HIDDEN"
- Groups:
- Uncategorised
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters