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

Damage Area

Status
Not open for further replies.
Level 2
Joined
Nov 12, 2007
Messages
7
That was easy!!!

first create a unit [A] at the center of the area u wanted 2 damage , triggers unit group , pick every units in range of the unit [A] and do actions, 2nd trigger ... if then else condition , if picked unit is equal to enemy of owner of casting unit and is equal to alive , then use trigger unit - damage target pick unit for damages .

THAT IT LOL !!!!
 
Level 6
Joined
May 13, 2005
Messages
164
Unit Group - Pick every unit in (Units within 275.00 of FragmentationShotPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is A ground unit) Equal to True) and ((((Matching unit) is Mechanical) Equal to False) and do (Actions)
Loop - Actions
Unit - Cause FragmentationShotCaster to damage (Picked unit), dealing 100.00 damage of attack type Chaos and damage type Normal

This is what Rvituapek meant. This is taken from my own map's trigger, where FragmentationShotCaster is the casting unit of the spell and FragmentationShotPoint is the target point of ability being cast. However, you will need to specify what type of units will be affected in the trigger. For example, i dont want the spell to hit air, structures, mechanical or magic-immuned units, thus the trigger.
 
Status
Not open for further replies.
Top