Black Ops III

HasPart

Returns whether the entity has the given tagname as part of its skeleton.

Example:

has_part = self HasPart( "tag_weapon", "weapon_saw" )

Parameters

ParameterSummary
*tagnameThe tag to search for. (string)
[modelname]The optional model name to help specify the part location. (string)

* = mandatory