deleteStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
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|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.75|Game version=
|1.75


|eff= global |Multiplayer Effects=
|eff= global


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation


| Delete a status (created with [[saveStatus]]) from the campaign's progress file. |DESCRIPTION=
| Delete a status (created with [[saveStatus]]) from the campaign's progress file.


| [[Boolean]] <nowiki>=</nowiki> '''deleteStatus''' statusName |SYNTAX=
| [[Boolean]] <nowiki>=</nowiki> '''deleteStatus''' statusName


|p1= statusName: [[String]] - name of the saved status |PARAMETER1=
|p1= statusName: [[String]] - name of the saved status


| [[Boolean]] -   
| [[Boolean]] -   
true if the status was deleted successfully, false if not |RETURNVALUE=
true if the status was deleted successfully, false if not
   
   
|x1= <pre>? deleteStatus "playerStatus" : "saved status gone from campaign"</pre> |EXAMPLE1=
|x1= <pre>? deleteStatus "playerStatus" : "saved status gone from campaign"</pre>


| [[saveStatus]] |SEEALSO=
| [[saveStatus]]


}}
}}

Revision as of 00:27, 18 January 2021

Hover & click on the images for description

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