Page 1 of 1
Triggers: How do I limit the units the ai or the player can train? ANSWERED
Posted: Wed Sep 23, 2020 1:53 pm
by Badnorth
How do I limit the units the ai or the player can train? I see it on prison planet and on nyadhos campaign. I really can use it.
Re: Map editor: How do I limit the units the ai or the player can train?
Posted: Thu Sep 24, 2020 4:24 am
by Hyuhjhih
Troop limit (pop limit) can be set when creating or hosting a new game
Re: Map editor: How do I limit the units the ai or the player can train?
Posted: Thu Sep 24, 2020 5:11 am
by Endru1241
What you are looking for are trigger effects:
Clear all buildables for player x
Add objType to buildables for player x
Btw. The second one is probably needed for making all units needing mapGrant (but AI somehow ignores it, unless changed in engine).
Re: Triggers: How do I limit the units the ai or the player can train?
Posted: Thu Sep 24, 2020 5:17 am
by Badnorth
Hyuhjhih wrote: ↑Thu Sep 24, 2020 4:24 am
Troop limit (pop limit) can be set when creating or hosting a new game
Not that, I mean triggers. Savage story map 2 or something has disabled all producable units in barracks while celtic warrior and hatamoto is left to be the only units trainable.,
I changed topic title.
Endru1241 wrote: ↑Thu Sep 24, 2020 5:11 am
What you are looking for are trigger effects:
Clear all buildables for player x
Add objType to buildables for player x
Btw. The second one is probably needed for making all units needing mapGrant (but AI somehow ignores it, unless changed in engine).
Ok, thanks.