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

Targeting Prob

Status
Not open for further replies.
Level 10
Joined
Jan 21, 2007
Messages
576
Ok im making a map and i have bunch of enemies in rows, And below them there is 1 unit like this
O O O O O
O O O O O
O O O O O
O O O O O
^
I want when Player 1 red hits up key the dummy unit on the unit below the enemies to cast storm bolt on the closest unit directly infron of the guy below enemies. :infl_thumbs_up: Thanks
 
Level 8
Joined
Jan 18, 2007
Messages
331
ok, the first thing is really easy just do like this

events
player1 presses the up arrow
conditions
actions
create spec effect stormbolt at region targeting unit
kill unit in region (ur reg)
destroy last created spec effect
turn on stormolt2

do this and then move the hero(or killing unit) top a region infront of the unit that shuld die. you have to make several triggers and then copy this one for ewery unit adding this line in the end

move (ur killing unit) to center of region facing offset 0,0,0 (or facing unit) try to mes with ythis base and make it fit ur ideas how it shuld be=))
 
Level 10
Joined
Jan 21, 2007
Messages
576
I got it with a mutated, wierdass, twisted version of shockwave lol.But thanks for all the ideas and help!
 
Status
Not open for further replies.
Top