Garry's Mod Wiki

Garry's Mod Wiki

  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 argument(s):
1 Player ply - The player that is spawning the entity.
2 Entity ent - The entity being spawned in.
3 number boneID - No description given.
4 PhysObj bone - No description given.
5 table data - What you pass to duplicator.StoreBoneModifier.

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