loadIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added saveIdentity link in seeAlso)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| person '''loadIdentity''' name |= Syntax
| person '''loadIdentity''' name |SYNTAX=


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


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


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=


|mp= This command doesn't work in Multiplayer |=
|mp= This command doesn't work in Multiplayer |=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_ok <nowiki>=</nowiki> [[player]] '''loadIdentity''' "playerIdentity"</code> |= Example 1
|x1= <code>_ok <nowiki>=</nowiki> [[player]] '''loadIdentity''' "playerIdentity"</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[saveIdentity]], [[lockIdentity]], [[setIdentity]]  |= See also
| [[saveIdentity]], [[lockIdentity]], [[setIdentity]]  |SEEALSO=


}}
}}

Revision as of 14:43, 7 April 2019

Hover & click on the images for description

Description

Description:
Loads person's identity from Objects.sav file in campaign directory (from entry name).
Multiplayer:
This command doesn't work in Multiplayer
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_ok = player loadIdentity "playerIdentity"

Additional Information

See also:
saveIdentitylockIdentitysetIdentity

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