Garry's Mod Wiki

Entity:ManipulateBoneJiggle

Entity:ManipulateBoneJiggle( number boneID, number enabled )

Description

Manipulates the bone's jiggle status. This allows non jiggly bones to become jiggly.

Arguments

1 number boneID
Index of the bone you want to manipulate.
2 number enabled
0 = No Jiggle 1 = Jiggle

Example

Turn everyone into jelly mode

for k, ply in ipairs( player.GetAll() ) do local i = 0 while i < v:GetBoneCount() do ply:ManipulateBoneJiggle(i, 1) i = i + 1 end end

Page Links


Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 25
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 12