• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

key-button attack?

Status
Not open for further replies.
Level 14
Joined
Sep 29, 2003
Messages
1,255
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.
 
Level 6
Joined
Mar 25, 2005
Messages
304
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
 
Level 6
Joined
Mar 25, 2005
Messages
304
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
 
Level 6
Joined
Mar 25, 2005
Messages
304
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
 
Level 7
Joined
Jul 30, 2004
Messages
451
spdr said:
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.


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
 
Status
Not open for further replies.
Top