Garry's Mod Wiki

Garry's Mod Wiki

  SpawnIcon:SetBodyGroup( number bodyGroupId, number activeSubModelId )

Description

This is used internally - although you're able to use it you probably shouldn't. This is done automatically by SpawnIcon. You do not need to call this. Doing so may cause unforeseen consequences.

Sets the active Sub Model ID for the given Body Group ID, so it can be retrieved with SpawnIcon:GetBodyGroup.

Use Panel:SetModel instead.

Arguments

1 number bodyGroupId
The Body Group ID to set the active Sub Model ID for.
Body Group IDs start at 0.
2 number activeSubModelId
The Sub Model ID to set as active.
Sub Model IDs start at 0.

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