Attach( <modelname>, <tagname>, <ignoreCollision> )


Module: Entity

Summary:

Attach a model to an entity.



Call this on:

An Entity



Example:

self Attach( "panzerflak_ammo", "tag_weapon_left" );



Required Args:

  • 1 : <modelname> The model name to attach (string).


Optional Args

  • 1 : <tagname> The tag to attach the model to (string).
  • 2 : <ignoreCollision> flag to ignore collision. Defaults to false (integer).