saveIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= unitName: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |PARAMETER1=
|p2= name: [[String]] |= Parameter 2
|p2= name: [[String]] |PARAMETER2=


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


| [[loadIdentity]] |= See also
| [[loadIdentity]] |SEEALSO=


}}
}}

Revision as of 14:46, 7 April 2019

Hover & click on the images for description

Description

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

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