lockIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments |arma3|= Game name |1.56|= Game version | Locks the identity of a person. This will disable default identity. |= Description | bool = '''lockIdentity''' u...")
 
m (Some wiki formatting)
 
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
|arma3|= Game name
 
|1.56|= Game version
|game1= arma3
| Locks the identity of a person. This will disable default identity. |= Description
|version1= 1.56
| bool = '''lockIdentity''' unit; |= Syntax
 
|p1= Unit: [[Object]]|= PARAMETER1
|gr1= Unit Identity
|p2=  |= PARAMETER2
 
| [[Bool]] true, if it was applied |= RETURNVALUE
|descr= Locks the identity of a person. This will disable default identity.
|x1= <code>_success = '''lockIdentity''' player;</code>|= EXAMPLE1
 
|  |= SEEALSO
|s1= [[lockIdentity]] unit
|  |= MPBEHAVIOUR
 
}}
|p1= unit: [[Object]]


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Boolean]] - [[true]], if it was applied
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<h3 style='display:none'>Notes</h3>
|x1= <sqf>_success = lockIdentity player;</sqf>
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[loadIdentity]] [[setIdentity]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

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