Macro request,or help with my macro...

A companion forum for Warcraft Mounts. Or just talk about WoW mounts.
Forum rules
Be respectful of others or else. Read the details.
User avatar
Vorel
Posts: 23
Joined: Thu Jan 07, 2010 12:42 pm
Realm: Aggramar
Location: Azeroth

Macro request,or help with my macro...

Unread post by Vorel »

Hello,

I wanted to make a macro that simultaneously calls forth a mount and a vanity pet.So i ended up to create that:
/castsequence
/use vanity pet's name
/use mount's name

Even though it seems to work,it calls forth both pet and mount,every time i use it i get this error message:

Message: Interface\FrameXML\ChatFrame.lua:849: Usage: CastSpellByName(name[, target])
Time: 01/14/11 15:15:33
Count: 13
Stack: [C]: in function `CastSpellByName'
Interface\FrameXML\ChatFrame.lua:849: in function <Interface\FrameXML\ChatFrame.lua:781>
Interface\FrameXML\ChatFrame.lua:1052: in function `?'
Interface\FrameXML\ChatFrame.lua:4108: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3737: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:2536: in function <Interface\FrameXML\ChatFrame.lua:2529>
[C]: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:274: in function `handler'
Interface\FrameXML\SecureTemplates.lua:541: in function <Interface\FrameXML\SecureTemplates.lua:489>

Locals: (*temporary) = nil
(*temporary) = nil

So,my questions are,1st if there is a way to alter the macro so no error appears or if there is a way to "hide"/prevent the error from showing up;or 2nd if there is any other way/macro that i can use for the simultaneous call of a vanity pet and mount.Side note,the macro i made and use need to be hit once to call both pet/mount if i pressed it again it just dismiss them both again,i like that so i would like to keep this that way,i mean to only have to press the macro button once and not two times,one to summon pet and one for the mounts as:

/castsequence vanity pet's name,mount's name


thanks for any replies,Vorel

Image

Where many see wild beasts as enemies to be destroyed,I see valuable allies who have simply lost their way...

User avatar
GormanGhaste
 Community Resource
 Community Resource
Posts: 6667
Joined: Tue Mar 09, 2010 2:00 pm
Realm: Uldaman (and Ravencrest)

Re: Macro request,or help with my macro...

Unread post by GormanGhaste »

the vanity pet is an instant cast and doesn't set off a CD on the mount, so you can simply write it as:

/cast vanity pet name
/cast mount name

this will summon both with one use, and desummon both with a second use
Image
User avatar
Vorel
Posts: 23
Joined: Thu Jan 07, 2010 12:42 pm
Realm: Aggramar
Location: Azeroth

Re: Macro request,or help with my macro...

Unread post by Vorel »

Thanks so much Gormanghaste,worked (and still working) like a charm. :hug: Gormanghaste.

Image

Where many see wild beasts as enemies to be destroyed,I see valuable allies who have simply lost their way...

Post Reply