• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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