deleteIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " 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= local |Multiplayer Effects=
|eff= local


|gr1= Unit Identity |GROUP1=
|gr1= Unit Identity


| Delete an identity (created with [[saveIdentity]]) from the campaign's progress file. |DESCRIPTION=
| Delete an identity (created with [[saveIdentity]]) from the campaign's progress file.


| [[Boolean]] <nowiki>=</nowiki> '''deleteIdentity''' identityName |SYNTAX=
| [[Boolean]] <nowiki>=</nowiki> '''deleteIdentity''' identityName


|p1= identityName: [[String]] - name of the saved identity |PARAMETER1=
|p1= identityName: [[String]] - name of the saved identity


| [[Boolean]] -   
| [[Boolean]] -   
true if the identy was deleted successfully, false if not |RETURNVALUE=
true if the identy was deleted successfully, false if not
   
   
|x1= <pre>?deleteIdentity "playerIdentity":hint "Delete ok"</pre> |EXAMPLE1=
|x1= <pre>?deleteIdentity "playerIdentity":hint "Delete ok"</pre>


| [[saveIdentity]] |SEEALSO=
| [[saveIdentity]]


}}
}}

Revision as of 00:30, 18 January 2021

Hover & click on the images for description

Description

Description:
Delete an identity (created with saveIdentity) from the campaign's progress file.
Groups:
Unit Identity

Syntax

Syntax:
Boolean = deleteIdentity identityName
Parameters:
identityName: String - name of the saved identity
Return Value:
Boolean - true if the identy was deleted successfully, false if not

Examples

Example 1:
?deleteIdentity "playerIdentity":hint "Delete ok"

Additional Information

See also:
saveIdentity

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