hasCustomFace

From Bohemia Interactive Community
Revision as of 11:06, 30 June 2024 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns true if the player has custom face file available. If the player is using a 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