saveIdentity: Difference between revisions

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


| ofpr |= Game name


<h2 style="color:#000066">'''''person'' saveIdentity ''name'''''</h2>
|1.75|= Game version
____________________________________________________________________________________________


| Saves person's identity to [[objects.sav]] file in campaign directory as entry name. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| person '''saveIdentity''' name |= Syntax


'''person:''' [[Object]]
|p1= person: [[Object]] |= Parameter 1


'''name:''' [[String]]
|p2= name: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[[player]] saveIdentity "playerid"</pre> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Compatibility:'''
}}


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


'''Description:'''
<!-- Note Section END -->
</dl>


Saves '''person's''' identity to [[Objects.sav|objects.sav]] file in campaign directory as entry '''name'''.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SAVEIDENTITY]]
 
[[Category:Scripting Commands OFP 1.96|SAVEIDENTITY]]
'''Example:'''
[[Category:Scripting Commands ArmA|SAVEIDENTITY]]
 
[[player]] '''saveIdentity''' "playerid"

Revision as of 22:58, 1 August 2006

Hover & click on the images for description

Description

Description:
Saves person's identity to objects.sav file in campaign directory as entry name.
Groups:
Uncategorised

Syntax

Syntax:
person saveIdentity name
Parameters:
person: Object
name: String
Return Value:
Boolean

Examples

Example 1:
[[player]] saveIdentity "playerid"

Additional Information

See also:
See also needed

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