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

How to set target unit group of Flame Strike?

Status
Not open for further replies.
Level 4
Joined
Jun 15, 2010
Messages
67
I was wondering how to do this because I want to make a special effect on all of units hit by my spell based on Flame Strike. Could you help me, please?
 
Level 4
Joined
Jun 15, 2010
Messages
67
ok, i'll try this one
thanks, it works but i also need to make conditions that units are not buildings, are alive and are owned by enemy of me, right?
 
  • Actions
    • Set TempPoint = (Target point of ability being cast)
    • Unit Group - Pick every unit in (Units within 200.00 of TempPoint matching (((((Matching unit) is A ground unit) Equal to True) and (((Matching unit) is alive) Equal to True)) and (((Owner of (Matching unit)) is an enemy of (Owner of (Triggering unit))) Equal to True))) and do (Actions)
      • Loop - Actions
    • Custom script: call RemoveLocation(udg_TempPoint)
I used TempPoint and custom script to remove the leaks involved.
 
Status
Not open for further replies.
Top