You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Wednesday, June 6th 2012, 1:39am

How do I write a Warden macro to send pet....

... after whatever is hitting me?

I am looking for a one click macro to send him after whatever has targeted me so I do not need to hunt it down first.

Thank you for any help you can give.

trav42073

Professional

Posts: 806

Location: Arizona

Occupation: welder/fabricator/antagonist

  • Send private message

2

Wednesday, June 6th 2012, 3:36am

hmm, i would prefer they changed pets back to attack anything that attacks its master the way it was. used to be that way but people complained about how when running through mobs the pets would aggro anything and everything in its path and lead them straight to the warden masters. wich was bad mkay, but not so bad that they had to make it so pets only attack what u attack. maybe a more direct route would be a macro to target and attack anything that attacked you and thus sending the pet after it.
95r/62m/63s/ Soultwist.
Ryaderr wrd/s/w erobos

3

Wednesday, June 6th 2012, 6:15am

Heh, I remember the good old days on various games where you had aggro (where your pet would attack anything) and the default setting was to attack anything that attacks the master. It was quite easy to solve the "pet pulling everything" issue by putting your pet on passive.

Yeah, that is what I want: a macro to target anything that attacks me.

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

4

Wednesday, June 6th 2012, 6:56am

Been too long since I played with pet stuff, but there is the game function UsePetAction() that will use one of the pet's action bar buttons as if you clicked it. To use, just provide the pet action bar slot number (1-10) to this function.

For example, if you wanted to use the action 6 on the pet's action bar you would use this for your macro:

Source code

1
/run UsePetAction(6)


Oh yeah, forgot to mention. You can provide a second parameter to this function to simulate right-clicking the action bar. Use a value of true to simulate a right-click on the button, while a value of false (or no value at all) will simulate left-clicking the button.

For example, to perform a right-click on this same action button 6, you would use:

Source code

1
/run UsePetAction(6, true)
2013... The year from hell....

5

Wednesday, June 6th 2012, 8:24am

Quoted from "Peryl;534828"

Been too long since I played with pet stuff, but there is the game function UsePetAction() that will use one of the pet's action bar buttons as if you clicked it. To use, just provide the pet action bar slot number (1-10) to this function.

For example, if you wanted to use the action 6 on the pet's action bar you would use this for your macro:

Source code

1
/run UsePetAction(6)


Oh yeah, forgot to mention. You can provide a second parameter to this function to simulate right-clicking the action bar. Use a value of true to simulate a right-click on the button, while a value of false (or no value at all) will simulate left-clicking the button.

For example, to perform a right-click on this same action button 6, you would use:

Source code

1
/run UsePetAction(6, true)


Is there a way to write "target what is targeting me"?

trav42073

Professional

Posts: 806

Location: Arizona

Occupation: welder/fabricator/antagonist

  • Send private message

6

Wednesday, June 6th 2012, 3:41pm

thinking the targeting macro added to peryls post would get the result your lookin for.
95r/62m/63s/ Soultwist.
Ryaderr wrd/s/w erobos

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

7

Wednesday, June 6th 2012, 3:50pm

Quoted from "Gregorii;534835"

Is there a way to write "target what is targeting me"?

That's the real trick isn't it. Unfortunately, there isn't really any way to know what has you targeted unless you already have it targeted or at least on focus. So I guess the real answer to your question is no, you can't (at least not directly).

Though a thought occurs... you could make a macro to take the pet out of passive and put it in a guarding mode (using the UsePetAction function above). This should then trigger the pet to go attack what is currently targeting you (well at least if it is actually attacking). Just remember to put the pet back to passive later.
2013... The year from hell....