setFace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=


|arg= global |= Arguments in MP
|arg= global |Multiplayer Arguments=


|eff= local |= Effects in MP
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. |= Description
| Set person's face. For a list of available faces, check [[:Category:CfgIdentities]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| person '''setFace''' face |= Syntax
| person '''setFace''' face |SYNTAX=


|p1= person: [[Object]] |= Parameter 1
|p1= person: [[Object]] |PARAMETER1=


|p2= face: [[String]] |= Parameter 2
|p2= face: [[String]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier1 setFace "WhiteHead_02"</pre> |= Example 1
|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>|=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}
Line 33: Line 34:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on September 19, 2013
<dt class="note">'''[[User:kylania|kylania]]'''<dd class="note">
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


<dd class="notedate">Posted on unknown
<dd class="notedate">Posted on unknown
Line 78: Line 41:
   Face77, Face77_camo1, Face77_camo2, Face77_camo3, Face77_camo4, Face77_camo5 and Face77_camo6
   Face77, Face77_camo1, Face77_camo2, Face77_camo3, Face77_camo4, Face77_camo5 and Face77_camo6
----
----
* [http://www.ciahome.net/~web7_balschoiw/Facetutorial.rar All Armed Assault 1.08 faces plus tutorial],
* [http://www.ciahome.net/~web7_balschoiw/ArmaAlbum/index.html Online gallery of 1.08 Armed Assault faces]
* [http://www.ofpec.com/forum/index.php?topic=33444.0 a full list of Arma 2 faces]
* [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 95: Line 51:
[[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 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 16:01, 6 April 2020

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:
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