• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Damage Detection System

Status
Not open for further replies.
Level 12
Joined
Sep 25, 2013
Messages
654
Hi, i just started using this damage detection system. It seems pretty useful. The problem is that im using it to capture buildings when they get exactly to the specified hit points, and they are capturing well enough, but the trigger isnt performing the rest of the actions.

I wan't the building to be restored to 100% hitpoints and for a message to appear. Any help is appreciated

  • Region Capture
    • Events
      • Game - PDD_damageEventTrigger becomes Equal to 1.00
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of PDD_target) Equal to Amon Amarth
          • (Life of PDD_target) Less than or equal to 1000.00
          • Or - Any (Conditions) are true
            • Conditions
              • PDD_damageType Equal to PDD_PHYSICAL
              • PDD_damageType Equal to PDD_SPELL
        • Then - Actions
          • Unit - Change ownership of PDD_target to (Owner of PDD_source) and Change color
          • Unit - Set life of PDD_target to 100.00%
          • Game - Display to (All players matching (((Matching player) is an ally of (Owner of PDD_source)) Equal to True)) for 10.00 seconds the text: You captured a Fish...
        • Else - Actions
 
Status
Not open for further replies.
Top