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

[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