• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Dummy units not damaging allies

Status
Not open for further replies.
Level 7
Joined
May 26, 2010
Messages
190
Ugh, this sounds stupid but:

Can I make it so I use a dummy unit to either Damage Unit or Damage Area without him damaging allies? Will I have to use something other than the Damage Unit / Damage Area triggers?
 
Level 11
Joined
Jun 20, 2009
Messages
880
You could so something like this:

Events:
Unit uses spell
Conditions:
Spell equal to Blizzard
Actions:
Pick every unit in (Region 000) matching (Enemy of Triggering unit)
Cause Dummy to deal X damage to Picked Unit
 
Level 8
Joined
Mar 26, 2009
Messages
301
...and if that doesn't work too, base your skill on another similar ability (instead of blizzard, you can use warstomp repeteadly) And If you ask "why would I want to do that?" answer is simple, object editor fields (especially targets allowed section) is sometimes may not work flawlessly. Some skills does not affect destructibles no matter what you do, or the caster itself.
Anyway. If you want to damage certain units (where object editor doesn't help) you can trigger it with Unit Group actions using Matching Conditions . This way you can express which things you want to take damage with exact settings.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
there is a very simplier way
in the target allowed section, just check Ennemy. So the unit won't be able to damage allies. If its for an Area of Effect, check ennemy in area of effect target.^^

This can ONLY be done if the spell does damage via Object Editor
If it's via Trigger Editor, this has no use, but only takes up space just to create a dummy unit, even for our Allies, I know it can't be affected since it has been changed to "Enemy" but, you will get a less-performance trigger
 
Status
Not open for further replies.
Top