Hi guys.
I've got a problem, I made a trigger:
I need it to send those text messages whenever a tower dies and if the specific region doesn't contain any other towers. But it's not working and I don't know why :banghead:
Any help is appreciated!
I've got a problem, I made a trigger:
Trigger:
- hfd
- Events
- Unit - A unit owned by Player 11 (Dark Green) Dies
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Number of units in (Units in Mid West Reg <gen> matching (((Matching unit) is A structure) Equal to True))) Equal to 0
- (Mid West Reg <gen> contains (Dying unit)) Equal to True
- ((Dying unit) is A structure) Equal to True
- Then - Actions
- Game - Display to (All allies of Player 1 (Red)) the text: You have lost the m...
- Game - Display to (All allies of Player 2 (Blue)) the text: You've destroyed th...
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
I need it to send those text messages whenever a tower dies and if the specific region doesn't contain any other towers. But it's not working and I don't know why :banghead:
Any help is appreciated!