setFace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added ArmA 3 options and updated example.)
mNo edit summary
Line 91: Line 91:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETFACE]]
[[Category:Scripting Commands|SETFACE]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SETFACE]]
[[Category:Scripting Commands OFP 1.96|SETFACE]]
[[Category:Scripting Commands OFP 1.46|SETFACE]]
[[Category:Scripting Commands OFP 1.46|SETFACE]]

Revision as of 11:10, 25 September 2014

Hover & click on the images for description

Description

Description:
Set person's face. For a list of available faces, check Category:CfgIdentities.
Groups:
Uncategorised

Syntax

Syntax:
person setFace face
Parameters:
person: Object
face: String
Return Value:
Nothing

Examples

Example 1:
soldier1 setFace "WhiteHead_02"

Additional Information

See also:
See also needed

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

Notes

Posted on September 19, 2013
kylania
For ArmA 3 face can be any of the following: AfricanHead_01 AfricanHead_02 AfricanHead_03 AsianHead_A3_01 AsianHead_A3_02 AsianHead_A3_03 GreekHead_A3_01 GreekHead_A3_02 GreekHead_A3_03 GreekHead_A3_04 GreekHead_A3_05 GreekHead_A3_06 GreekHead_A3_07 GreekHead_A3_08 GreekHead_A3_09 PersianHead_A3_01 PersianHead_A3_02 PersianHead_A3_03 NATOHead_01 WhiteHead_02 WhiteHead_03 WhiteHead_04 WhiteHead_05 WhiteHead_06 WhiteHead_07 WhiteHead_08 WhiteHead_09 WhiteHead_10 WhiteHead_11 WhiteHead_12 WhiteHead_13 WhiteHead_14 WhiteHead_15
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



Bottom Section