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

[Solved] AOE catapult unit and Attacked unit

Status
Not open for further replies.
Level 14
Joined
Jun 15, 2016
Messages
749
When I try to pick unit group in range around "attacked unit" which is attacked by "Siege AOE" attacking unit then do some actions, the map crash. Because of that, I think "attacked unit" unit type can not be detected by non target-locking attacks.

How can I solve this? I
 
Level 14
Joined
Jun 15, 2016
Messages
749
My apology, here it is:
  • Emerald Lapiz Beam
    • Events
      • Game - GDD_Event becomes Equal to 1.00
    • Conditions
      • (Unit-type of GDD_DamageSource) Equal to Decimator
    • Actions
      • Unit Group - Pick every unit in (Units within 150.00 of (Position of GDD_DamagedUnit) matching (((Matching unit) belongs to an ally of (Owner of GDD_DamageSource)) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 30.00)
          • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + 15.00)
 
Status
Not open for further replies.
Top