deleteIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|DELETEIDENTITY]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|DELETEIDENTITY]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|DELETEIDENTITY]]


| ofpr |= Game name


<h2 style="color:#000066">'''deleteIdentity ''identityName'''''</h2>
|1.75|= Game version


|eff= local |= Effects in MP
____________________________________________________________________________________________


'''Operand types:'''
| Delete an identity (created with [[saveIdentity]]) from the campaign's progress file. |= Description
____________________________________________________________________________________________


'''identityName:''' [[String]]
| '''deleteIdentity''' identity |= Syntax


'''Type of returned value:'''
|p1= identity: [[String]] - name of the saved identity |= Parameter 1


[[Boolean]]
| [[Boolean]]
true if the identy was deleted successfully, false if not |= Return value
____________________________________________________________________________________________
 
|x1= <pre>deleteIdentity "playerIdentity"</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
| [[saveIdentity]] |= See also


Added in version '''1.75'''
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Delete identity created by [[saveIdentity]] from campaign progress file.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example:'''
[[Category:Scripting Commands|DELETEIDENTITY]]
 
[[Category:Scripting Commands OFP 1.96|DELETEIDENTITY]]
'''deleteIdentity''' "playerIdentity"
[[Category:Scripting Commands ArmA|DELETEIDENTITY]]

Revision as of 23:44, 1 August 2006

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
deleteIdentity "playerIdentity"

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