Garry's Mod Wiki

Entity:SetBoneController

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.

Page Links


Special Pages


Wikis

?

Render Time: 84ms

DB GetPage 49
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 19