setFace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
||
Line 19: | Line 19: | ||
|p2= face: [[String]] | |p2= face: [[String]] | ||
| [[Nothing]] | |r1=[[Nothing]] | ||
|x1= <code>soldier1 [[setFace]] "WhiteHead_02"</code> | |x1= <code>soldier1 [[setFace]] "WhiteHead_02"</code> |
Revision as of 21:22, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Unit Identity
Syntax
- Syntax:
- Syntax needed
- Parameters:
- person: Object
- face: String
- Return Value:
- Nothing
Examples
- Example 1:
soldier1 setFace "WhiteHead_02"
- Example 2:
- Set persistent face for a unit in MP
if (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