IconEditor/SetFromEntity

From Garry's Mod
Revision as of 20:37, 11 December 2014 by TheFreeman193 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 IconEditor:SetFromEntity( )

DescriptionPanelFunc

Sets the editor's model and icon from an entity. Alternative to IconEditor:SetIcon, with uses a SpawnIcon.

You do not need to call IconEditor:Refresh after this.

Arguments

Entity ent

The entity to retrieve the model and skin from.
Personal tools
Navigation