Avian Gamers Network
http://www.avian-gamers.net/forums/

Pet question... sorta
http://www.avian-gamers.net/forums/viewtopic.php?f=40&t=14105
Page 1 of 1

Author:  Alokorben [ Tue Feb 08, 2005 2:18 pm ]
Post subject:  Pet question... sorta

I've been trying to setup some macros that command my pet to do things... problem is I can't seem to locate any of the slash commands for pets. Anyone have any idea where i can get these?

Thanks in advance

Author:  Saucon21 [ Tue Feb 08, 2005 2:33 pm ]
Post subject: 

What type of Marco are you trying to make. Like pet tricks or attacking a mob?

Author:  Alokorben [ Tue Feb 08, 2005 4:34 pm ]
Post subject: 

I want to put a voice command to when my spider attacks...

Something like:

/s Go get the %t
/petattack


Nothing special... just to add some RP into it.

Author:  Cyrus Rex [ Tue Feb 08, 2005 11:59 pm ]
Post subject: 

Here are some examples I can give you:

Advanced macro wrote:
/script if (UnitName("target") ~=nil and UnitIsFriend("player","target")) then CastSpellByName("Greater Heal(Rank #)") SendChatMessage("Greater Healing %T in 4+ seconds", "Party") else CastSpellByName("Greater Heal(Rank #)");end
/script TargetLastEnemy()


Other easy macro examples wrote:
/s Great King under the Mountain, it is not %t's time to end the fight!
/s <Resurrect %t>
/cast Resurrection(Rank 2)

/s Old High King, lend us the protection of your Great Crest!
/s <Shield %t>
/cast Power Word: Shield(Rank 3)

/comfort
/me says: Remember these words and remember them well,.. best be keepen yir feet on the grownd!

/hail
/me says: Good to see another proud Avian!



And here is a list of all the Globally Accessible Functions
http://www.cosmosui.org/texts/BlizzardCommands.xml

Looking around the UI Mod forums and sites will give you clues to some of the cool advanced stuff.

Author:  Cyrus Rex [ Wed Feb 09, 2005 1:42 pm ]
Post subject: 

PetAbandon();
Returns:
Example: PetAbandon();
Description: Abandon your pet. Shoo. Get out.

PetAttack();
Returns:
Example: PetAttack();
Description: Tells your pet to attack the target.

PetCanBeAbandoned()
Returns: Boolean
Example: if(PetCanBeAbandoned()) then
Description: Retuns true if the pet is abandonable

PetHasActionBar()
Returns: Boolean
Example: PetHasActionBar()
Description: Returns true when the pet currently used has an action bar.

PetRename(name)
Returns:
Example: PetRename(getglobal(prevFrame:GetName().."EditBox"):GetText());
Description: Renames your pet.



Pet specials like Claw, Growl, Bite may act as spells... I am not sure. If they do you may be able to macro them using one of the following spell functions.

CastSpell(id, SpellBookFrame.bookType);
Returns:
Example: CastSpell(id, SpellBookFrame.bookType);
Description: Casts the spell at slot "id" in book "bookType"

CastSpellByName(spellname)
Returns:
Example: CastSpellByName("Demon Skin");
Description: Casts a specific spell by the name used in the game.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/