View Single Post
11-21-20, 11:24 AM   #5
Draugor
A Murloc Raider
Join Date: Nov 2020
Posts: 5
as i want to add an extra option to the context menu of the mountjournal i need to hook to that function as i still need the buttons blizzard is adding (un/favorite, cancel and un/mount) so thats fine, that part is working and doing what it should.

what i want to do with SummonByID is the following:

if ID is not 0 just call C_MountJournal.SummonByID
else
- choose a random mount from your favorites after a different logic then the blizzard one
- call SummonByID with ID i provide decided by my logic

that works so far, but only when i click the button in the journal or use a macro with
Code:
/run C_MountJournal.SummonByID(0)
but not when i drag the button into the actionbar and use that for some reason



edit: pastebin with everything i have currently: https://pastebin.com/iDBy0dhF

Last edited by Draugor : 11-21-20 at 11:28 AM.
  Reply With Quote