- 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
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
-
Conditions
-
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
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events