• 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.

help with unit attacks

Status
Not open for further replies.
Level 6
Joined
Jul 23, 2004
Messages
162
how can i make it so that when a ability or key is used/pressed a unit will attack withought a target so itll only hurt wuts directly infront of it... do u kno wut im saying?
 
Level 5
Joined
Jun 21, 2004
Messages
129
could just make a dummy aoe spell with very low aoe and dummy caster then use then use a trigger the make the dummy cast the spell infront of him, or just wait till the patch for the Damage Area action.
 
Level 7
Joined
Jul 30, 2004
Messages
451
use whatever actions u want, such as a dummy spell as said before, and when its triggered

either
pick all units in 64.00 range of ((position of casting unit_\) offset by (96.00) towards (facing angle of casting unit))
if unit is not owned by owner of casting unit then set unit life to unit life - 20

set temp unit = random unit from (stuff above)
set temp unit life = temp unit life - 20

at least something like that would be the MOST basic way
 
Status
Not open for further replies.
Top