Hello everyone.
I managed to make a mousover macro for my pet.
I've got the macro, which when I use it makes my pet attack the target that Im mouseovering even when I have another target in my target, without losing the current target. Well, if to say simply, I've got 2 enemies in front of me, and one is in my target, and one is not, but Im mouseovering the 2nd one (who is not in my target) and use the macro, and it makes my pet attack that guy without targeting him, and not losing my current enemy from target.
It looks like this:
/script if UnitCanAttack("player","mouseover") then TargetUnit("mouseover");PetAttack();TargetUnit("playertarget"); else PetAttack(); end
My question is if its possible to make same macros but not for /script PetAttack();, but for my spells from the spellbook, aka /cast Scatter Shot, for example? Cant make it wotking