deleteStatus: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofpr | | ofpr | ||
|1.75 | |1.75 | ||
|eff= global | |eff= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Delete a status (created with [[saveStatus]]) from the campaign's progress file. | | Delete a status (created with [[saveStatus]]) from the campaign's progress file. | ||
| [[Boolean]] <nowiki>=</nowiki> '''deleteStatus''' statusName | | [[Boolean]] <nowiki>=</nowiki> '''deleteStatus''' statusName | ||
|p1= statusName: [[String]] - name of the saved status | |p1= statusName: [[String]] - name of the saved status | ||
| [[Boolean]] - | | [[Boolean]] - | ||
true if the status was deleted successfully, false if not | true if the status was deleted successfully, false if not | ||
|x1= <pre>? deleteStatus "playerStatus" : "saved status gone from campaign"</pre> | |x1= <pre>? deleteStatus "playerStatus" : "saved status gone from campaign"</pre> | ||
| [[saveStatus]] | | [[saveStatus]] | ||
}} | }} |
Revision as of 00:27, 18 January 2021
Description
- Description:
- Delete a status (created with saveStatus) from the campaign's progress file.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Boolean = deleteStatus statusName
- Parameters:
- statusName: String - name of the saved status
- Return Value:
- Boolean - true if the status was deleted successfully, false if not
Examples
- Example 1:
? deleteStatus "playerStatus" : "saved status gone from campaign"
Additional Information
- See also:
- saveStatus
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Object Manipulation
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands