Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia

Returns true if the currently displayed model supports the given animation ID.

hasAnimation = CharacterModelBase:HasAnimation(anim)

Arguments[]

anim
AnimationDataEnum - An animation ID

Returns[]

hasAnimation
boolean - True if the model has the animation; false otherwise

Example[]

modelCanPlayTalkingAnimation = myModel:HasAnimation(60) -- 60 is the animation ID for the talking animation

Patch changes[]

Legion Patch 7.0.3 (2016-07-19): Added.