saveIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
Line 32: Line 32:
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SAVEIDENTITY]]
[[Category:Scripting Commands|SAVEIDENTITY]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]

Revision as of 01:54, 18 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.