Summon Random Favorite Mount [Improved]
I have created these global functions for my addon. "SummonRandomFavoriteMount()" has one difference from "C_MountJournal.SummonByID(0)"... Instead of only dismounting, if mounted (normal for that button); my function will dismount and mount the new mount in one command. I thought this might help others.
Also does anyone know of a good way to load an addon, followed by code execution involving that addon? That would be a nice tweak to this. Edit: If this fails it's because the random mount chosen is the current mount. Code:
-- Call after Blizzard's addon "Blizzard_Collections" is loaded Code:
function GetOneFavoriteMount() |
All times are GMT -6. The time now is 01:05 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI