lockIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
Line 6: Line 6:


|descr= Locks the identity of a person. This will disable default identity.
|descr= Locks the identity of a person. This will disable default identity.
|s1= '''lockIdentity''' unit
|s1= [[lockIdentity]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]

Revision as of 18:06, 20 June 2021

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:
loadIdentitysetIdentity

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