EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Pet Window multi-command (https://www.eq2interface.com/forums/showthread.php?t=4388)

Ava3ar 10-03-2005 01:53 AM

Pet Window multi-command
 
im trying to modify the pet window

but i only want 3 buttons shown

1 = attack
2 = multi-command
3 = kill pet

the multicommand, i want it todo,

petBackOff ; petProtectSelf ; petProtectMe

but doing the same way as macros, would it be easier to add a "hotbar" slot to the petwindow so that i just write a macro and put it in the slot

or anyone fancy writing one for me (j/k)

Magus 10-03-2005 02:47 AM

To my knowledge, there is no protectme/protectself command, so no macros for it.

Ava3ar 10-03-2005 03:19 AM

on the full pet windows then it does

ActionData="command petProtectSelf"
ActionData="command petProtectMe"

but i couldnt get it todo multi usage

Magus 10-03-2005 04:07 AM

That's my point - those don't correspond to any normal /command that I can figure out.

No /command, no macro effect, to my knowledge.

Ava3ar 10-03-2005 04:17 AM

only thing i can think is

/pet protectself
/pet protectme

becasue /pet attack

works

Mahonri 10-03-2005 08:21 AM

Call me dense but I don't understande what it is you want this button to do and how you want it to work... Could you explain it a bit more please.

ShadowProwler420 10-03-2005 09:05 AM

Quote:

Originally Posted by Mahonri
Call me dense but I don't understande what it is you want this button to do and how you want it to work... Could you explain it a bit more please.

When you tell your pet to back off, it automatically 'turns off' its ability to protect you (its owner) and itself. And my guess is he's using his pet to pull mobs (as a tank would), and is trying to create the ability to turn these functions of the pet back on once he tells the pet to essentially bring the mob back to him (or within spell range).

I, too, have been wanting to be able to do this (since I do tend to forget about turning its protective functions back on once I do the same). However, there needs to be some sort of pause between the time the pet is told to back off and when the protective functions are turned back on, otherwise you will find yourself needing to repeatedly hit the button in order to get the pet and mob back to you.

Magus 10-03-2005 02:52 PM

Quote:

Originally Posted by Ava3ar
only thing i can think is

/pet protectself
/pet protectme

becasue /pet attack

works

If it were that simple I wouldn't be telling you that you CAN NOT DO IT.

I'm not stupid, and I've tried many obvious things like that.

Brynne-Befallen 10-06-2005 11:22 AM

Quote:

Originally Posted by Magus
If it were that simple I wouldn't be telling you that you CAN NOT DO IT.

I'm not stupid, and I've tried many obvious things like that.

Actually, Ava3ar was pretty close, the commands you are looking for are:

/pet preserve_master
/pet preserve_self

The others (incase anyone is curious) are:

/pet backoff
/pet follow
/pet stay
/pet getlost
/pet attack

Magus 10-06-2005 03:31 PM

Sneaky sneaky... they added the _ and then changed me to master, heh...

depechenode 10-06-2005 03:42 PM

So can a multi commanded button be added to the pet window to include what was originally asked for?

In other words, make the button so it WONT turn off the pet protecting itself, etc if the caster is using the pet as the puller/tank.

Quoted:from Lazaru5
"When you tell your pet to back off, it automatically 'turns off' its ability to protect you (its owner) and itself. And my guess is he's using his pet to pull mobs (as a tank would), and is trying to create the ability to turn these functions of the pet back on once he tells the pet to essentially bring the mob back to him (or within spell range).

I, too, have been wanting to be able to do this (since I do tend to forget about turning its protective functions back on once I do the same). However, there needs to be some sort of pause between the time the pet is told to back off and when the protective functions are turned back on, otherwise you will find yourself needing to repeatedly hit the button in order to get the pet and mob back to you.
__________________"

danedori 10-06-2005 04:41 PM

There isn't a way to put a pause in the commands, so the protect aspects will get turned back on immediately, which isn't really what you want. However, if you attach those to the attack command, then the first time you tell the pet to attack after pulling it back, it will turn them back on. The difficulty with that is that the /pet protect_* commands toggle them, so telling your pet to attack a second target will once again turn them off. There is a way around this however. The macro I have set up for this is:

: ; pet backoff ; pet preserve_master ; pet preserve_self ; pet attack

The reason for the /pet backoff at the beginning is to turn off the preserve_* commands, and then they get turned back on, and then my pet attacks the target. I have this set up as a macro, and it works like a charm. It should be no problem adding a button to the pet window to do it too.

Danedori

depechenode 10-15-2005 07:36 AM

Ok been trying to get this button to work the way I want it too in the pet window.

The macro thing works, but I too desire a button that is part of the pet window to do what that macro does. Even better, would be a way to modify the default Attack button to include the extra commands. When I added the other commands to the ActionData property, only the first command is executed with the rest ignored. There is no onpress property to use. I made my own button, but when I try using the onpress parameters, I get zero response from the pet.

Any ideas how the added commands can be incorporated into the pet window? For now I am using a seperate macro in my hotbar to control pet after the pull.

Zonx 10-15-2005 09:17 AM

Don't forget you need to double every slash command used in an event script. Also spaces in a slash command usually indicate a value assignment ;)

Can't log in atm to check this but the above macro would translate to something like the followin scripts:

Code:

OnPress="pet='backoff' pet='backoff'
pet='preserve_master' pet='preserve_master'
pet='preserve_self' pet='preserve_self'
pet='attack' pet='attack'"



All times are GMT -5. The time now is 01:21 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI