ShowPart( <tagname>, <modelname> )


Module: Entity

Summary:

Show part of an entity.



Call this on:

An Entity



Example:

self ShowPart( "tag_weapon", "weapon_saw" );



Required Args:

  • 1 : <tagname> The tag to show. All surfaces with a vertex weighted to the tag will be shown. (string)


Optional Args

  • 1 : <modelname> The optional model name to help specify the part location. (string)