loadIdentity: 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|LOADIDENTITY]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOADIDENTITY]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LOADIDENTITY]]


| ofpr |= Game name


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


| Loads person's identity from [[objects.sav]] file in campaign directory (from entry name). |= Description
____________________________________________________________________________________________


'''Operand types:'''
| person '''loadIdentity''' 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]] loadIdentity "playerIdentity"</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>


Loads '''person's''' identity from [[Objects.sav|objects.sav]] file in campaign directory (from entry '''name''').
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LOADIDENTITY]]
 
[[Category:Scripting Commands OFP 1.96|LOADIDENTITY]]
'''Example:'''
[[Category:Scripting Commands ArmA|LOADIDENTITY]]
 
[[player]] '''loadIdentity''' "playerIdentity"

Revision as of 00:59, 2 August 2006

Hover & click on the images for description

Description

Description:
Loads person's identity from objects.sav file in campaign directory (from entry name).
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
[[player]] loadIdentity "playerIdentity"

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