Call of Duty Script Documentation
attach(<modelname>,<tagname>,<ignoreCollision>)
ModuleEntity
Summary
Attach a model to an entity
Call this function on
An Entity
Example
self attach("xmodel/panzerflak_ammo", "tag_weapon_left");
Minimum Number of arguments: 1
1 : <modelname> The model name to attach (string)
Number of optional arguments: 2
1 : <tagname> The tag to attach the model to (string)
2 : <ignoreCollision> flag to ignore collision. Defaults to false (integer)
Return to Function List