setFace: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 51: | Line 51: | ||
<sqf>if (isServer) then { [_unit, "AsianHead_A3_02"] remoteExec ["setFace", 0, _unit] }; // if the unit is created later in the game</sqf> | <sqf>if (isServer) then { [_unit, "AsianHead_A3_02"] remoteExec ["setFace", 0, _unit] }; // if the unit is created later in the game</sqf> | ||
|seealso= [[face]] [[setIdentity]] [[setSpeaker]] | |seealso= [[face]] [[setIdentity]] [[setSpeaker]] [[hasCustomFace]] | ||
}} | }} |
Revision as of 10:05, 30 June 2024
Description
- Description:
- Set person's face. For a list of available faces, check Category:CfgIdentities or 'CfgFaces' config.
- Groups:
- Unit Identity
Syntax
Examples
- Example 1:
- soldier1 setFace "WhiteHead_02";
- Example 2:
- Set persistent face for a unit in multiplayer:
if (isServer) then { [_unit, "AsianHead_A3_02"] remoteExec ["setFace", 0, _unit] }; // if the unit is created later in the game
Additional Information
- See also:
- face setIdentity setSpeaker hasCustomFace
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: 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