- Joined
- Jan 12, 2011
- Messages
- 1,523
ok so i've been using this trigger to limit units easily:
Air Unit Limits
Acontecimientos
Tiempo - Elapsed game time is 0.01 seconds
Condiciones
Acciones
Grupo de jugadores - Pick every player in (All players) and do (Actions)
Bucle: Acciones
Jugador - Limit training of Nerubian Bombardero to 10 for (Picked player)
Jugador - Limit training of Flying Machine to 10 for (Picked player)
Jugador - Limit training of Gryphon Rider to 10 for (Picked player)
Jugador - Limit training of Dragonhawk Rider to 10 for (Picked player)
Jugador - Limit training of Wind Rider to 10 for (Picked player)
Jugador - Limit training of Troll Batrider to 10 for (Picked player)
Jugador - Limit training of Gargoyle to 10 for (Picked player)
Jugador - Limit training of Frost Wyrm to 7 for (Picked player)
Jugador - Limit training of Destroyer to 7 for (Picked player)
as an example but i have the problem that the units that do upgrade can be bugged by making lot of the unit which is before then click in upgrade and they got a lot of them, surpacing the limit..
i want to do a trigger that is like:
player gets more than X of that unit, kill Z units for that player, until they return to X units.
Air Unit Limits
Acontecimientos
Tiempo - Elapsed game time is 0.01 seconds
Condiciones
Acciones
Grupo de jugadores - Pick every player in (All players) and do (Actions)
Bucle: Acciones
Jugador - Limit training of Nerubian Bombardero to 10 for (Picked player)
Jugador - Limit training of Flying Machine to 10 for (Picked player)
Jugador - Limit training of Gryphon Rider to 10 for (Picked player)
Jugador - Limit training of Dragonhawk Rider to 10 for (Picked player)
Jugador - Limit training of Wind Rider to 10 for (Picked player)
Jugador - Limit training of Troll Batrider to 10 for (Picked player)
Jugador - Limit training of Gargoyle to 10 for (Picked player)
Jugador - Limit training of Frost Wyrm to 7 for (Picked player)
Jugador - Limit training of Destroyer to 7 for (Picked player)
as an example but i have the problem that the units that do upgrade can be bugged by making lot of the unit which is before then click in upgrade and they got a lot of them, surpacing the limit..
i want to do a trigger that is like:
player gets more than X of that unit, kill Z units for that player, until they return to X units.