lockIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "Bool" to "Boolean")
Line 6: Line 6:
|p1= unit: [[Object]]|PARAMETER1=  
|p1= unit: [[Object]]|PARAMETER1=  
|p2=  |PARAMETER2=
|p2=  |PARAMETER2=
| [[Bool]] - [[true]], if it was applied |RETURNVALUE=  
| [[Boolean]] - [[true]], if it was applied |RETURNVALUE=  
|x1= <code>_success = '''lockIdentity''' player;</code>|EXAMPLE1=  
|x1= <code>_success = '''lockIdentity''' player;</code>|EXAMPLE1=  
| [[loadIdentity]],[[setIdentity]] |SEEALSO=  
| [[loadIdentity]],[[setIdentity]] |SEEALSO=  

Revision as of 00:16, 24 August 2020

Hover & click on the images for description

Description

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

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