Garry's Mod Wiki

Entity:ManipulateBoneJiggle

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 _, ply in ipairs( player.GetAll() ) do local i = 0 while i < ply:GetBoneCount() do ply:ManipulateBoneJiggle( i, 1 ) i = i + 1 end end

Special Pages


Wikis

?

Render Time: 68ms

DB GetPage 49
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7