View Single Post
08-08-14, 03:53 PM   #4
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
kind,value in _onreceivedrag is the same as the first two returns in GetCursorInfo().

I get "mount",268 on the Albino Drake also. With spot checking similar mounts, they probably all have unique numbers. Not sure what they mean. They can't be indexes in the journal since many of them are greater than C_MountJournal.GetNumMounts().

When you drag a mount to an action, GetActionInfo() for the slot that contains an Albino Drake is "summonmount",268.

Not sure how to translate that number into knowing what mount it is so you can set a button's texture and attributes. (The obvious attributes I've tried didn't work: "mount"/"mount" "summonmount"/"mount" "summonmount"/"value" etc)

Last edited by Gello : 08-08-14 at 04:02 PM.