Warcraft III resources & community, 2003–2006 · archived

key-button attack?

10 posts
#1

key-button attack?

this is what i have so far... but it dosent work.


Unit - A unit Begins channeling an ability
(Ability being cast) Equal to Machine Gun
Unit - Order (Triggering unit) to Attack Ground ((Position of (Triggering unit)) offset by (0.00, 150.00))

how do i get it to actually do damage to units? do i increase the 150? or what.. thanks in advance.
#2
Attack ground? does the skill have a splash damage? If the skill doesnt have a splash damage, attack ground command it useless. Hope that helps.
-Blue
#3
thats all? k thanks a lot. ill try it now.
wait, how do i do that?
do you mean giving the unit a splash for attack? cuz the ability is a dummy, and is the 150 correct?
#4
Well what did u base your skill off of? Easiest way would be to base the skill off of shockwave because shockwave will attack anything in its path. Good Luck
-Blue
#5
i used avatar, and set all effects to zero.
#6
Now I'm seriously confused. What exactly is the spell supposed to do? avatar doesnt deal any damage, it just gives the unit bonus attributes. If you want to damage the things in the path, do the shockwave modificaiton. Good Luck
-Blue
#7
its fps type, the spell is a dummy, so like in halo, when you pull r, you shoot your gun. this way, when i use an ability z, i want to attack the ground, and if there is a unit where i attack, i want to deal damage.
#8
Then use the shockwave, and modifie it so its like a gun ammo. That should work. Good luck
-Blue
#9
would making a new unit, and ordering it to attack work? so the hero could keep moving while attacking?
#10

Re: key-button attack?

spdrthis is what i have so far... but it dosent work.


Unit - A unit Begins channeling an ability
(Ability being cast) Equal to Machine Gun
Unit - Order (Triggering unit) to Attack Ground ((Position of (Triggering unit)) offset by (0.00, 150.00))

how do i get it to actually do damage to units? do i increase the 150? or what.. thanks in advance.



afaik avatar isn't a channeling ability, so that won't catch the event
the (triggering unit) needs an artillery attack in the first place to be able to attack ground
offset by 0, 150 means X of unit + 0, Y of unit + 150, so it will always attack 150 'points' above the unit
also if the unit did have an artillery attack, what stops the player from just pressing G and clicking to fire