deleteIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|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= Unit Identity |GROUP1=
|gr1= Unit Identity |GROUP1=
____________________________________________________________________________________________


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


| [[Boolean]] <nowiki>=</nowiki> '''deleteIdentity''' identityName |SYNTAX=
| [[Boolean]] <nowiki>=</nowiki> '''deleteIdentity''' identityName |SYNTAX=
Line 20: Line 17:
| [[Boolean]] -   
| [[Boolean]] -   
true if the identy was deleted successfully, false if not |RETURNVALUE=
true if the identy was deleted successfully, false if not |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <pre>?deleteIdentity "playerIdentity":hint "Delete ok"</pre> |EXAMPLE1=
|x1= <pre>?deleteIdentity "playerIdentity":hint "Delete ok"</pre> |EXAMPLE1=
____________________________________________________________________________________________


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

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

Notes

Bottom Section