Hi, I ahve a problem, I'm trying to limit the maximum numbers of units available in game at one time of a specific unit type: EG Druid of the Claw, thats easy enough just use player: Limit training of unit type Druid of the Claw to 4.
BUT
This won't take into account when Druid is in bear form so the player can basicaly produce and unlimited amount by using bear form. I've been trying to design another trigger but this won't work either, heres what I got so far:
BUT
This won't take into account when Druid is in bear form so the player can basicaly produce and unlimited amount by using bear form. I've been trying to design another trigger but this won't work either, heres what I got so far:
-
Druid of the Claw Limits
-
Events
- Unit - A unit owned by Player 8 (Pink) Finishes training a unit
-
Conditions
- (Unit-type of (Trained unit)) Druid of the Claw
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of living Druid of the Claw (Bear Form) units owned by Player 8 (Pink)) Greater than or equal to 3
- (Number of living Druid of the Claw units owned by Player 8 (Pink)) Greater than or equal to 4
-
Then - Actions
- Player - Make Druid of the Claw Unavailable for training/construction by Player 8 (Pink)
-
Else - Actions
- Player - Make Druid of the Claw Available for training/construction by Player 8 (Pink)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events