lockIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Some wiki formatting)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command
|arma3
 
|1.56
|game1= arma3
|version1= 1.56


|gr1= Unit Identity
|gr1= Unit Identity


| Locks the identity of a person. This will disable default identity.
|descr= Locks the identity of a person. This will disable default identity.
| '''lockIdentity''' unit
 
|s1= [[lockIdentity]] unit
 
|p1= unit: [[Object]]
|p1= unit: [[Object]]
|p2=
| [[Boolean]] - [[true]], if it was applied
|x1= <code>_success = '''lockIdentity''' player;</code>
| [[loadIdentity]],[[setIdentity]]
}}


{{GameCategory|arma3|Scripting Commands}}
|r1= [[Boolean]] - [[true]], if it was applied
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<dl class="command_description">
|x1= <sqf>_success = lockIdentity player;</sqf>
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


{{GameCategory|arma3|New Scripting Commands}}
|seealso= [[loadIdentity]] [[setIdentity]]
{{GameCategory|arma3|Scripting Commands}}
}}

Latest revision as of 17:19, 13 May 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