Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API CharacterModelBase HasAnimation

Last wiki revision 2023-08-19

Returns true if the currently displayed model supports the given animation ID. hasAnimation = CharacterModelBase:HasAnimation(anim)

  • anim: - An animation ID
  • hasAnimation: - True if the model has the animation; false otherwise

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

Source

https://warcraft.wiki.gg/wiki/API_CharacterModelBase_HasAnimation · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.