Call of Duty Script Documentation

# getpartname(<xmodel name>, <index>)

## Module

    Animation

## Summary

    Gets the name of a part of a model.

## Example

    partName = GetPartName ( self.hatModel,0 )

## Minimum Number of arguments: 2

    1 : <xmodel name> The name of the model
    2 : <index> The part index. Must be less than the number of bones in the model.

## Number of optional arguments: 0

Return to Function List