Need a little help for macro command.
Posted: Tue Feb 16, 2016 8:47 pm
Hey.
I've got a macro that use one item if the other one is on cooldown.
Lets say, I've got anti-venom and elixir of poison resistance, and if the first one is on cooldown, that it will use elixir. But theres a bad thing about that one, since you need to put specific items in the specific slots to make it working, look:
/script if GetContainerItemCooldown(4,1)>1 then UseContainerItem(4,2) else TargetUnit("player");UseContainerItem(4,1);TargetUnit("playertarget") end
So, lets say I've got that addon from our forums (ClassicMacros) which allows me to make a macro with /use command, without naming a specific slot in the specific bag to use.
How can it look like? To check if the item is on cooldown without naming a specific one (bag, slot), or its not possible?
Also, I do believe theres no possibility to change that command which checks if the item is on cooldown and ready to be used or not, so I'll have to put specific items in the specific slots and in the specific bags to make the macro working, but is there a possibility to change it the way /use command works?
Ty you in advance!
I've got a macro that use one item if the other one is on cooldown.
Lets say, I've got anti-venom and elixir of poison resistance, and if the first one is on cooldown, that it will use elixir. But theres a bad thing about that one, since you need to put specific items in the specific slots to make it working, look:
/script if GetContainerItemCooldown(4,1)>1 then UseContainerItem(4,2) else TargetUnit("player");UseContainerItem(4,1);TargetUnit("playertarget") end
So, lets say I've got that addon from our forums (ClassicMacros) which allows me to make a macro with /use command, without naming a specific slot in the specific bag to use.
How can it look like? To check if the item is on cooldown without naming a specific one (bag, slot), or its not possible?
Also, I do believe theres no possibility to change that command which checks if the item is on cooldown and ready to be used or not, so I'll have to put specific items in the specific slots and in the specific bags to make the macro working, but is there a possibility to change it the way /use command works?
Ty you in advance!