hasCustomFace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |branch1= dev |gr1= Unit Identity |descr= Returns true if the player has custom face file available. If the player is using the custom face, face command will return "Custom". |s1= hasCustomFace person |p1= person: Object |r1= Boolean - true if player has 'face.paa' or 'face.jpg' file in their current profile and it is usable. |x1= <sqf>hasCustomFace player1;</sqf> |seealso= face setFace...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
|gr1= Unit Identity
|gr1= Unit Identity


|descr= Returns [[true]] if the player has custom face file available. If the player is using the custom face, [[face]] command will return "Custom".
|descr= Returns [[true]] if the player has a custom face file available. If the player is using the custom face, [[face]] command will return "Custom".


|s1= [[hasCustomFace]] person
|s1= [[hasCustomFace]] person

Latest revision as of 11:07, 30 June 2024

Hover & click on the images for description

Description

Description:
Returns true if the player has a custom face file available. If the player is using the custom face, face command will return "Custom".
Groups:
Unit Identity

Syntax

Syntax:
hasCustomFace person
Parameters:
person: Object
Return Value:
Boolean - true if player has 'face.paa' or 'face.jpg' file in their current profile and it is usable.

Examples

Example 1:
hasCustomFace player1;

Additional Information

See also:
face setFace setIdentity setSpeaker

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