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

Post Reply
User avatar
Badnorth
Posts: 4121
Joined: Mon Apr 20, 2020 2:22 pm

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

Post 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.
Last edited by Badnorth on Thu Sep 24, 2020 5:20 am, edited 2 times in total.
For newcomers, click here for discord links. Hopefully they aren't expired.
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

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

Post by Hyuhjhih »

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

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
Endru1241
Posts: 2717
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 »

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
Badnorth
Posts: 4121
Joined: Mon Apr 20, 2020 2:22 pm

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

Post 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.
For newcomers, click here for discord links. Hopefully they aren't expired.
Post Reply

Return to “More Q&A”