Triggers: How do I limit the units the ai or the player can train? ANSWERED

Post Reply
User avatar
QuadrupoleStrat
Posts: 2437
Joined: Mon Apr 20, 2020 2:22 pm
Location: Quadrupolis, Octapralia

Triggers: How do I limit the units the ai or the player can train? ANSWERED

Post by QuadrupoleStrat » Wed Sep 23, 2020 1:53 pm

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.
Last edited by QuadrupoleStrat on Thu Sep 24, 2020 5:20 am, edited 2 times in total.
Support the new AoS variant AoD (Age of Discovery)
Please head here - viewforum.php?f=230
Thanks!

User avatar
Hyuhjhih
Posts: 162
Joined: Sat Sep 19, 2020 4:22 am

Re: Map editor: How do I limit the units the ai or the player can train?

Post by Hyuhjhih » Thu Sep 24, 2020 4:24 am

Troop limit (pop limit) can be set when creating or hosting a new game
Love Is Eternal

User avatar
Endru1241
Posts: 1160
Joined: Fri Sep 11, 2015 8:43 am
Location: Poland

Re: Map editor: How do I limit the units the ai or the player can train?

Post by Endru1241 » 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).
Age of Strategy design leader

User avatar
QuadrupoleStrat
Posts: 2437
Joined: Mon Apr 20, 2020 2:22 pm
Location: Quadrupolis, Octapralia

Re: Triggers: How do I limit the units the ai or the player can train?

Post by QuadrupoleStrat » Thu Sep 24, 2020 5:17 am

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.
Support the new AoS variant AoD (Age of Discovery)
Please head here - viewforum.php?f=230
Thanks!

Post Reply

Return to “More Q&A”