native

set_controller

Syntax

native Float:set_controller(entity, controller, Float:value);

Description

Sets a bone controller with the specified value.

Parameters

entity The entity id to set the value on.
controller Which controller to set (0 through 3).
value The value to set it to.

Return

The percentage that the controller is extended (0.0 through 1.0)