- Joined
- Jan 9, 2005
- Messages
- 2,126
Hi, I was wondering if anyone could help me out with a skill I'm trying to give an unit. Basically, this unit has a skill which is an activate/deactivate type (e.g. Immolation) and when the skill activates, the unit switches to attack index 1 which is ranges, and when the skill deactivate, the unit switches back to attack index 2, a melee attack.
I've tried doing it with triggers but there doesn't seem to be any GUI triggers for that. If anyone has a solution (other than making 2 versions of the unit and having the skill actually swap between the two a la Bear Form etc - I'd prefer to avoid that) that would be awesome. I suppose it might be feasible in JASS, but I can't code for the life of me. But if you have lines of custom scripts that might work, please help, I'm not totally hopeless
Also, I don't think Orb effects would work because as far as I know they can only enable and not disable an attack index, which I need to happen. Enable 1, disable 2; disable 1, enable 2.
And finally, are there any autocasts abilities that enable a unit to use an unused attack index?
I've tried doing it with triggers but there doesn't seem to be any GUI triggers for that. If anyone has a solution (other than making 2 versions of the unit and having the skill actually swap between the two a la Bear Form etc - I'd prefer to avoid that) that would be awesome. I suppose it might be feasible in JASS, but I can't code for the life of me. But if you have lines of custom scripts that might work, please help, I'm not totally hopeless
Also, I don't think Orb effects would work because as far as I know they can only enable and not disable an attack index, which I need to happen. Enable 1, disable 2; disable 1, enable 2.
And finally, are there any autocasts abilities that enable a unit to use an unused attack index?