setFace: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofp | | ofp | ||
|1.00 | |1.00 | ||
|arg= global | |arg= global | ||
|eff= local | |eff= local | ||
|gr1= Unit Identity | |gr1= Unit Identity | ||
| Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. | | Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. | ||
| person '''setFace''' face | | person '''setFace''' face | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= face: [[String]] | |p2= face: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>soldier1 [[setFace]] "WhiteHead_02"</code> | |x1= <code>soldier1 [[setFace]] "WhiteHead_02"</code> | ||
|x2= Set persistent face for a unit in MP<code>[[if]] ([[isServer]]) [[then]] {[_unit, "AsianHead_A3_02"] [[remoteExec]] ["setFace", 0, _unit]};</code> | |x2= Set persistent face for a unit in MP<code>[[if]] ([[isServer]]) [[then]] {[_unit, "AsianHead_A3_02"] [[remoteExec]] ["setFace", 0, _unit]};</code> | ||
|[[face]], [[setIdentity]], [[setSpeaker]] | |[[face]], [[setIdentity]], [[setSpeaker]] | ||
}} | }} |
Revision as of 11:11, 18 January 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
Notes
- 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
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Unit Identity
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands