Garry's Mod Wiki

duplicator.RegisterBoneModifier

duplicator.RegisterBoneModifier( any key, function boneModifier )

Description

Registers a function to be called on each of an entity's bones when duplicator.ApplyBoneModifiers is called.

This function is available to call on the client, but registered functions aren't used anywhere!

Arguments

1 any key
The type of the key doesn't appear to matter, but it is preferable to use a string.
2 function boneModifier
Function called on each bone that an ent has. Called during duplicator.ApplyBoneModifiers. Function parameters are:

The data table that is passed to boneModifier is set with duplicator.StoreBoneModifier

Page Links


Special Pages


Wikis

?

Render Time: 39ms

Session 0
DB GetPage 3
Generate Html 14
SaveChanges 8
Render Body 0
Render Sidebar 12