setFace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 28: | Line 28: | ||
|gr1= Unit Identity | |gr1= Unit Identity | ||
| Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. | |descr= Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. | ||
|s1= person '''setFace''' face | |s1= person '''setFace''' face |
Revision as of 21:20, 13 June 2021
Description
- Description:
- Set person's face. For a list of available faces, check Category:CfgIdentities.
- Groups:
- Unit Identity
Syntax
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
Categories:
- Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Unit Identity
- Scripting Commands: Local Effect