Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.12

Description

Description:

Enables external control for a unit torso / view / aim.

Note: For a VBS plugin using EPC, to control the unit skeleton, it is possible to use the command with plugin callbacks such as OnModifyUpperBodyTorsoUnit, OnModifyUpperBodyViewUnit, and so on. Those callbacks need to be implemented, as it is not possible to control the skeleton just from the script.

Syntax

Syntax:unit setExternalPoseUpBody enable
Parameters:
  • unit: Unit - Affected unit.
  • enable: Boolean - If true, then unit torso is externally controlled.
Return Value:Nothing

Examples

Examples:
soldier1 setExternalPoseUpBody true;

Additional Information

See also: getExternalPoseUpBody
Multiplayer:
Problems:

Notes