Garry's Mod Wiki

Entity:GetBoneController

  number Entity:GetBoneController( number boneID )

Description

Returns the value of the bone controller with the specified ID.

This is the precursor of pose parameters, and only works for Half Life 1: Source models supporting it.

Arguments

1 number boneID
ID of the bone controller. Goes from 0 to 3.

Returns

1 number
The value set on the bone controller.