setFace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(MP example, see also)
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier1 setFace "WhiteHead_02"</pre> |= Example 1
|x1= <code>soldier1 [[setFace]] "WhiteHead_02"</code> |= Example 1
|x2= Set persistent face for a unit in MP<code>[[if]] ([[isServer]]) [[then]] {[_unit, "AsianHead_A3_02"] [[remoteExec]] ["setFace", 0, _unit]};</code>|=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
|[[setIdentity]], [[setSpeaker]] |= See also


}}
}}

Revision as of 15:22, 2 August 2016

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"
Example 2:
Set persistent face for a unit in MPif (isServer) then {[_unit, "AsianHead_A3_02"] remoteExec ["setFace", 0, _unit]};

Additional Information

See also:
setIdentitysetSpeaker

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