View Single Post
04-25-18, 01:07 PM   #9
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 308
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: Mage, Priest, Devoker, Pally
Battle Tag: Mysterio#11164
Current PC Setup: PCPartPicker List
  Reply With Quote