lockIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 13: Line 13:


|x1= <code>_success = '''lockIdentity''' player;</code>
|x1= <code>_success = '''lockIdentity''' player;</code>
|seealso= [[loadIdentity]],[[setIdentity]]
|seealso= [[loadIdentity]] [[setIdentity]]
}}
}}

Revision as of 23:23, 20 January 2022

Hover & click on the images for description

Description

Description:
Locks the identity of a person. This will disable default identity.
Groups:
Unit Identity

Syntax

Syntax:
lockIdentity unit
Parameters:
unit: Object
Return Value:
Boolean - true, if it was applied

Examples

Example 1:
_success = lockIdentity player;

Additional Information

See also:
loadIdentity setIdentity

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