Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetBoneController( number boneControllerID, number value )

Description

Sets the specified value on the bone controller with the given ID of this entity, it's used in HL1 to change the head rotation of NPCs, turret aiming and so on.

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

Arguments

1 number boneControllerID
The ID of the bone controller to set the value to. Goes from 0 to 3.
2 number value
The value to set on the specified bone controller.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...