setFace: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
(26 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.00| | |1.00|Game version= | ||
|arg= global |Multiplayer Arguments= | |||
|eff= local |Multiplayer Effects= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set person's face. |= | | Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| person '''setFace''' face |= | | person '''setFace''' face |SYNTAX= | ||
|p1= person: [[Object]] |= | |p1= person: [[Object]] |PARAMETER1= | ||
|p2= face: [[String]] |= | |p2= face: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>soldier1 [[setFace]] "WhiteHead_02"</code> |EXAMPLE1= | ||
|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]] |SEEALSO= | ||
}} | }} | ||
Line 30: | Line 35: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on unknown | |||
<dt class="note">unknown | |||
<dd class="note"> | |||
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 | |||
---- | |||
* [http://www.ofpec.com/forum/index.php?topic=33444.0 a full list of Arma 2 faces] | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
Line 35: | Line 47: | ||
<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]] | ||
[[Category:Scripting Commands ArmA|SETFACE]] | [[Category:Scripting Commands ArmA|SETFACE]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 20:03, 1 September 2019
Description
- Description:
- Set person's face. For a list of available faces, check Category:CfgIdentities.
- Groups:
- Uncategorised
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters