deleteStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofpr |Game name=
| ofpr |Game name=
Line 9: Line 8:


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


| 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. |DESCRIPTION=
____________________________________________________________________________________________


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


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

Revision as of 00:46, 17 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

Notes

Bottom Section