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

Blink deal damage

Status
Not open for further replies.
Level 10
Joined
Nov 5, 2008
Messages
536
I wonder if there is any way to make Blink deal damage?

That means, when a unit blinks to a location, enemy units on that location gets damaged.

How would you make an ablitiy like this?
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

You take blink - and use a trigger for it - that deals damage at the casted point in an area you choose

Edit:
  • Blink damage
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Unit Group - Pick every unit in (Units within 350.00 of TempPoint) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Picked unit), dealing 50.00 damage of attack type Spells and damage type Normal
            • Else - Actions
      • Custom script: call RemoveLocation(udg_TempPoint)
(TempPoint is a point Variable)
 
Status
Not open for further replies.
Top