loadIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\|= * " to " ")
Line 17: Line 17:
| [[Boolean]] |RETURNVALUE=
| [[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> |EXAMPLE1=
|x1= <code>_ok <nowiki>=</nowiki> [[player]] '''loadIdentity''' "playerIdentity"</code> |EXAMPLE1=

Revision as of 22:39, 17 January 2021

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:
Unit Identity

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

Bottom Section