Call of Duty Script Documentation
detach(<modelname>,<tagname>)
ModuleEntity
Summary
detaches an attached model from an entity
Call this function on
An Entity
Example
self detach("xmodel/explosivepack", "tag_weapon_right");
Minimum Number of arguments: 1
1 : <modelname> The model name to detach (string)
Number of optional arguments: 1
1 : <tagname> The tag to detach the model from (string)
Return to Function List