deleteStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (stringtype)
m (= and string and example)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= statusName: [[String]] - name of the saved status |= Parameter 1
|p1= statusName: [[String]] - name of the saved status |= Parameter 1
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>deleteStatus "playerStatus"</pre> |= Example 1
|x1= <pre>? deleteStatus "playerStatus" : "saved status gone from campaign"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:06, 26 August 2007

Hover & click on the images for description

Description

Description:
Delete a status (created with saveStatus) from the campaign's progress file.
Groups:
Uncategorised

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