Garry's Mod Wiki

Garry's Mod Wiki

  Entity:ManipulateBoneJiggle( number boneID, number type )

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 type
The jiggle bone type. There are currently the following options:
  • 0 = No jiggle override, use model default
  • 1 = Force jiggle, with hardcoded settings
  • 2 = Force disable jiggle bone

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

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...