The Glade 4.0 https://gladerebooted.net/ |
|
How to summon a random noncombat pet in 5.0+ https://gladerebooted.net/viewtopic.php?f=22&t=9201 |
Page 1 of 1 |
Author: | Mookhow [ Wed Oct 03, 2012 2:18 pm ] |
Post subject: | How to summon a random noncombat pet in 5.0+ |
Throw this in a macro and put it on your hotkey bar somewhere. Code: /run local t={}for i=1,select(2,C_PetJournal.GetNumPets(false))do tinsert(t,(C_PetJournal.GetPetInfoByIndex(i)))end C_PetJournal.SummonPetByID(t[random(#t)])
|
Author: | Numbuk [ Wed Oct 03, 2012 3:31 pm ] |
Post subject: | Re: How to summon a random noncombat pet in 5.0+ |
Mookhow wrote: Throw this in a macro and put it on your hotkey bar somewhere. Code: /run local t={}for i=1,select(2,C_PetJournal.GetNumPets(false))do tinsert(t,(C_PetJournal.GetPetInfoByIndex(i)))end C_PetJournal.SummonPetByID(t[random(#t)]) Nice work on taking the time for a macro. However, RandomPet may be what you want. No need to press a button all the time and it will automatically summon a different pet when you login, zone, or land from a flightpath. I've used it for years and loved it. I also had a good mount macro once upon a time that pulled out a random flying mount (if the area was flyable), a random ground mount (if it wasn't) as well as the seahorse if I was in vashjir. May have to look into that one again and tweak. I know there is a mod, but the macro I had only picked randomly from the list of mounts I wanted to use. |
Author: | NephyrS [ Wed Oct 03, 2012 3:36 pm ] |
Post subject: | |
Mounted! used to pick from a weighted list of mounts and pets. Doesn't seem to be kept up anymore, though- not sure if there's a current addon that replaces the functionality. I'm using a very simple macro now: Code: #showtooltip /userandom [nomounted,flyable] ListOfFlyingMounts; ListOfGroundMounts; use [mod:alt] Seahorse Mount Would be nice if I could get the macro to automatically summon the seahorse, but I haven't tweaked it yet. And pressing Alt isn't that big of a deal. Edit: Here's one that looks nice including a seahorse: Code: #showtooltip RM
/castrandom [nomounted, flyable] FM, FM, FM /cast Abyssal Seahorse /castrandom [nomounted, noflyable] GM, GM, GM /dismount |
Page 1 of 1 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |