loadIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofpr |Game name=
| ofpr |Game name=
Line 7: Line 6:


|gr1= Unit Identity |GROUP1=
|gr1= Unit Identity |GROUP1=
____________________________________________________________________________________________


| 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=
Line 21: Line 18:


|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=
____________________________________________________________________________________________


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

Revision as of 02:55, 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

Notes

Bottom Section