Need help with the action > Damage Area

Komaqtion

You can change this now in User CP.
Reaction score
469
Pick all enemy units in the area, and damage then ? :S

Like this:
Trigger:
  • Set TempPoint = (Target point of ability being cast)
    • Set TempGroup = (Units within 512.00 of TempPoint matching ((((Matching unit) is dead) Not equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
    • Unit Group - Pick every unit in TempGroup and do (Actions)
      • Loop - Actions
        • Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
    • Custom script: call DestroyGroup( udg_TempGroup )
    • Custom script: call RemoveLocation( udg_TempPoint )
 

Lifee

New Member
Reaction score
46
oh sry i forgot to say to damage an area,only enemy units every 1 seconds,for 10 seconds.
 

tommerbob

Minecraft. :D
Reaction score
110
Do Komaqtion's trigger, and use the event "Time - Every 1 second".

Then use an integer variable, preset it to 10, and then in the above trigger, put

Trigger:
  • Set Duration = Duration -1
    • If/Then/Else
      • If - conditions
        • Duration Less Than or Equal To 0
      • Then - actions
        • Turn off (this trigger)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top