Avian Gamers Network

Forum
It is currently Thu May 01, 2025 6:09 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Pet question... sorta
PostPosted: Tue Feb 08, 2005 2:18 pm 
Offline
User avatar

Joined: Wed Nov 17, 2004 1:08 pm
Posts: 464
Location: Ankeny, Iowa
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

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 2:33 pm 
Offline
User avatar

Joined: Tue Oct 26, 2004 3:48 pm
Posts: 245
Location: Pennsylvania,USA
What type of Marco are you trying to make. Like pet tricks or attacking a mob?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 4:34 pm 
Offline
User avatar

Joined: Wed Nov 17, 2004 1:08 pm
Posts: 464
Location: Ankeny, Iowa
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.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 11:59 pm 
Offline
Site Admin
User avatar

Joined: Mon Oct 29, 2001 9:01 pm
Posts: 2417
Location: Baton Rouge, LA / Kuwait / Kandahar
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 09, 2005 1:42 pm 
Offline
Site Admin
User avatar

Joined: Mon Oct 29, 2001 9:01 pm
Posts: 2417
Location: Baton Rouge, LA / Kuwait / Kandahar
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group