Need an attack ability

Status
Not open for further replies.
Level 3
Joined
Dec 5, 2010
Messages
18
I need an attack ability that causes a unit to attack directly in front of it when you push a button/hotkey. I would also like a ranged version if possible.

I'm working on an RTS hybrid for warcraft 3 called world war Z, but I need the attack. This is what I've got so far


Thank you in advance. :infl_thumbs_up:
 
How about making a condition - if there is an enemy unit in front of you (use point with offset to check it) then you attack it when ability is used - else you just play attack animation. If there are two or more possible targets then the closest one should be attacked.
 
OR you could simply remove their Attack ability, replace it with Shockwave, and then edit the hotkeys and values of that ability to suit your needs. Another method would be this:

Have an ability that summons a unit using the missile model you want to use, and have it move forward until it hits something (Unit is within 100.00 of Missile event), causing damage to whatever comes into contact with the 'missile', and killing off the missiles unit. Of course, this'd take some use of variables and such, but it is possible.
 
Status
Not open for further replies.
Back
Top