- Messages
- 375
- Reaction score
- 148
- Points
- 903
PHP:
function setAnimationOnModel( localClientNum, characterModel, topPlayerIndex )
{
anim_name = end_game_taunts::getidleanimname( localClientNum, characterModel, topPlayerIndex );
if( isDefined(anim_name) )
{
characterModel util::waittill_dobj( localClientNum );
if( !characterModel HasAnimTree() )
{
characterModel UseAnimTree( #animtree );
}
characterModel SetAnim( anim_name );
}
}