lockIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command
|arma3|Game name=
|arma3
|1.56|Game version=
|1.56


|gr1= Unit Identity |GROUP1=
|gr1= Unit Identity


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

Revision as of 02:02, 18 January 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

Bottom Section

Notes

Bottom Section