![]() |
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 |
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? |
See new post in the Profit Ui forum in regards to this Rhianna.....getting some responses there....
|
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. |
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.TargetCode:
use_itemvdl 691299720use_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. |
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