This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Determining pet number?
Post Reply
Return to board index
Post by
rakkarage
is there an addon that displays the pet number or position in the ui? or is it possible?
i have a macro for summoning a random mount but each time i get a new one or ones or want to change it all the numbers shift and i have to do a lot of counting and multiplication to figure out the mount numbers...
/script local t={5,6,7,8,9,39,42,55} if IsAltKeyDown() then t={5} elseif IsReallyFlyableArea() then t={1,32,37,53,61} end CallCompanion("MOUNT",t)
Post by
Toldu
My mount macro is
here
and I don't know of a way to display the individual mounts' numbers.
Post by
Wanderingfox
Try this:
/run local n = GetNumCompanions("MOUNT"); for i = 1, n do _, m = GetCompanionInfo("MOUNT", i); DEFAULT_CHAT_FRAME:AddMessage(i .. ": " .. m); end;
That's all drycode, so it might not function, but the gist of it is this:
Get total number of mounts
Loop through all your mounts
for each mount, print the mount index and the mount name to the default chat frame
Post by
Toldu
Try this:
/run local n = GetNumCompanions("MOUNT"); for i = 1, n do _, m = GetCompanionInfo("MOUNT", i); DEFAULT_CHAT_FRAME:AddMessage(i .. ": " .. m); end;
That's all drycode, so it might not function, but the gist of it is this:
Get total number of mounts
Loop through all your mounts
for each mount, print the mount index and the mount name to the default chat frame
It works. Just tried it. Is there any way to make it list to a specific channel?
Post by
rakkarage
thanks for that... any way to get the numbers to display over the pet icons in the pet interface?
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.