Garry's Mod Wiki

Entity:SetBoneController

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.

Special Pages


Wikis

?

Render Time: 18ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 7