• 🏆 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!

Action - Damage Circular Area

Status
Not open for further replies.
Level 2
Joined
Nov 19, 2010
Messages
7
Hi there.

I'm wondering if it's possible to make the below Action only damage enemy units.

  • Unit - Cause [Unit] to damage circular area after X seconds of radius Y at [Location], dealing Z damage of attack type [Attack] and damage type [Damage]
If it is; any pointers to how I'd do so?

If not... Well, tough luck I guess.
 
Level 2
Joined
Nov 19, 2010
Messages
7
Use the damage action for single units... and learn how to do it for groups...

I tried to set up a Unit Group;
  • Units within 200 of (Target point of ability being cast) matching [condition]
But, err... I can't seem to find a suitable condition as the closest I seem to get is Target Unit of Ability Being Cast. But my spell doesn't even have a target (Shockwave).

But by now I'm guessing that if I should go any further with this it'd be in the Triggers & Scripts Forum.
 
Level 2
Joined
Nov 19, 2010
Messages
7
Triggering unit is the unit that triggers the event.

Unit dies -> the dying unit is triggering unit
Unit enters a region -> entering unit is triggering unit

and so on.

That's what I don't quite understand. If there's a universal unit-match, why even bother with "Dying Unit" or "Unit Entering Region" for checking the triggering unit?
 
Level 16
Joined
Jun 24, 2009
Messages
1,409
For example:

There is an event Unit dies.
With Triggering unit, you can trigger the dying unit.
If you add a Killing unit, you can trigger the unit that killed it.

There is an event Starts the effect of an ability.
Triggering unit - The unit that used the ability
Target unit of ability being cast - The target unit of the ability
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
There's 2 thing in an Event (mostly unit Event)
Like what Marsal said and these are the additions:

1.
  • Events
    • Unit - A unit Uses an item
You can refer (Triggering unit) as the unit uses the item and...
You can refer the item as Event Response - Item Being Manipulated

2.
  • Events
    • Unit - A unit Sells a unit
(Triggering unit) is the unit that sells the unit (like Tavern, the Tavern is acting as (Triggering unit))
While the unit being sold can be related to "Event Response - Sold Unit"

There are more to it, learn it okay ?
 
Status
Not open for further replies.
Top