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

[Solved] Problem with Unit - Dmg Target :(

Status
Not open for further replies.
Level 2
Joined
Dec 1, 2011
Messages
12
I have problem with action

  • Unit - Cause Orc 0000 <gen> to damage Attacked_Unit, dealing 20 damage of attack type Hero and damage type Normal
Why attacked unit doesn't get dmg? :/
 
Wow lol your triggering is like.... Uhhh Lol.
Anyway I have your solution.
This is what you mean't to do.
  • Two
    • Events
      • Unit - A unit owned by Neutral Hostile Is attacked
    • Conditions
    • Actions
      • Set Hero = (Attacking unit)
      • Set Attacked_Unit = (Triggering unit)
      • Unit - Cause Hero to damage Attacked_Unit, dealing 200.00 damage of attack type Hero and damage type Normal
And this is what you did...
  • One
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Attacked_Unit = (Attacked unit)
      • Set Attacked_Unit = (Attacked unit)
  • Two
    • Events
      • Unit - A unit owned by Neutral Hostile Is attacked
    • Conditions
      • Attacked_Unit Equal to (Attacked unit)
    • Actions
      • Unit - Cause Hero to damage Attacked_Unit, dealing 200.00 damage of attack type Hero and damage type Normal
This gave me a good laugh for about 30 seconds lol
Its just so basic and funny.... Well that's your solution.
 
Status
Not open for further replies.
Top