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


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


| unitName '''saveIdentity''' name |SYNTAX=
| unitName '''saveIdentity''' name |SYNTAX=
Line 18: Line 15:


| [[Boolean]] |RETURNVALUE=
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] saveIdentity "playerid"</code> |EXAMPLE1=
|x1= <code>[[player]] saveIdentity "playerid"</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[loadIdentity]] |SEEALSO=
| [[loadIdentity]] |SEEALSO=

Revision as of 03:13, 17 January 2021

Hover & click on the images for description

Description

Description:
Saves person's identity to Objects.sav file in campaign directory as entry name.
Groups:
Unit Identity

Syntax

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

Examples

Example 1:
player saveIdentity "playerid"

Additional Information

See also:
loadIdentity

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

Posted on August 12, 2006 - 17:17
Str
Can be also used in singleplayer missions to save player status before cutscenes and load it to player's double.

Bottom Section