EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Request (https://www.eq2interface.com/forums/forumdisplay.php?f=25)
-   -   Click to use Necrotic Flashpot (https://www.eq2interface.com/forums/showthread.php?t=14387)

Rhianna 07-07-2010 03:10 PM

Click to use Necrotic Flashpot
 
On some raid fights its necessary to use an item to unstun/stifle a raid member and I thought about making this a bit easier.

To that end I've been trying to modify profits quick raid buttons to use items on raid members instead of spells / abilities.

Of course nothing is that easy and my attempts have all failed so far.

The code below should work...well...I thought it should....but i get the error message

"This spell or ability is no longer available"

<Data Name="Button5" Macro="SpellForMyLevel='-661875382' useabilityonplayer Parent.Target SpellForMyLevel "Tooltip="Necrotic Flashpot"/>

I would really appreciate any help on this as its driving me nuts trying to figure out what Im doing wrong.





thanks in advance...
Rhianna

Komeo 07-19-2010 07:11 PM

I've also been trying to set this up...I've managed to get it to partially work... it still requires you to target the raid member in order for the item to be used....

<Data Name="Button3" Macro="use_itemvdl -661875382 Parent.Target" Tooltip="Necrotic Flashpot"/>

I'm a noob at this and I'm unsure on how to get it to where you don't have to target a player manually in order for it to work....Maybe this is not possible when it comes to using items on players?

Komeo 07-19-2010 09:37 PM

See new post in the Profit Ui forum in regards to this Rhianna.....getting some responses there....

EQAditu 07-20-2010 02:23 PM

Well, useitemvdl does not accept targeting parameters and useabilityonplayer doesn't accept item IDs because they are not abilities.

To state the obvious, the player must be targeted before you use the item. I'm not sure if adding a target command in the macro will be quick enough to actually target them before it uses the item. Target commands are historically slow because the server has to respond to the request.

ObsidianDragon 07-21-2010 05:16 PM

I used to do this with the salts in ToMC long, long ago. I made my profit button as follows
Code:

<Data Name="Button5" Macro="target Parent.Target
        do_file_commands raidcommand.txt" Tooltip="Target then raidcommand"/>

then in notepad I made raidcommand.txt in the root eq2 folder (not the ProfitUI folder!) with the following
Code:

use_itemvdl 691299720
assist mainassistguy

and I'd replace mainassistguy with whomever I wanted to switch back to assisting after salting. The advantage to this is that I could edit raidcommand.txt to change it even while the game was running. Thus, it would be easy to adjust it in run time to whatever item you want to use on the raidmember, and obviously you could replace "assist mainassistguy" with "target mobname" based on your needs for the particular fight.

use_itemvdl, at least when used in a do_file_commands, has been slow enough to hit after the initial target change, at least for me.

Rhianna 07-22-2010 11:37 AM

thats awesome ObsidianDragon, thanks for posting ! Off to try it out now :)


All times are GMT -5. The time now is 07:46 AM.

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