Quantcast WoWInterface - View Single Post - Event that fires when starting to fly
View Single Post
04-25-18, 01:07 PM   #9
A Frostmaul Preserver
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 278
You're right, it was replaced by: C_MountJournal.GetDisplayedMountInfo

Yes I know index is not the same as id. You'd have to iterate through C_MountJournal.GetNumDisplayedMounts and compare spellID from the spell cast event with mountID.

I didn't post and say it was the end all be all way to accomplish what the op wanted but merely to help with determining actual flying mounts. As it was already stated that up/down doesn't register anything so PLAYER_STARTED/STOPPED_MOVING events aren't sure proof. I would begin the zooming after mounting honestly. If that's too soon then perhaps add a timer then begin the zooming then or if PLAYER_STARTED_MOVING before the timer goes off then proceed.
AddOns: Tim @ WoWInterface
Characters: Warrior, Shaman, DH, Mage, Pally
Current PC Setup: PCPartPicker List
  Reply With Quote