setFace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 28: Line 28:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on unknown</dd>
<dd class="notedate">Posted on unknown</dd>
Line 37: Line 36:
----
----
* [http://www.ofpec.com/forum/index.php?topic=33444.0 a full list of Arma 2 faces]
* [http://www.ofpec.com/forum/index.php?topic=33444.0 a full list of Arma 2 faces]
<!-- Note Section END -->
</dl>
</dl>



Revision as of 01:42, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Identity

Syntax

Syntax:
Syntax needed
Parameters:
person: Object
face: String
Return Value:
Return value needed

Examples

Example 1:
soldier1 setFace "WhiteHead_02"
Example 2:
Set persistent face for a unit in MPif (isServer) then {[_unit, "AsianHead_A3_02"] remoteExec ["setFace", 0, _unit]};

Additional Information

See also:
facesetIdentitysetSpeaker

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
Posted on unknown
unknown
For Arma 2 the face value is a string from Face01 to Face107. Camo faces are available as well, 6 per face. For example the full set of class names for face value 77 would be: Face77, Face77_camo1, Face77_camo2, Face77_camo3, Face77_camo4, Face77_camo5 and Face77_camo6