Hi! I don’t know if I’m posting this in the right place.
Is there any trigger that allows me to enable the training of specific units in a building? For example, If I want to be able to spawn Berserks or Spearmen in a fortress, would that be possible somehow?
Yes
Protounit Add Train
for technologies Protounit Add Tech
If you want to remove unit from a building use Protounit Remove train
If you want to remove a tech from a building use Protounit Remove tech
Besides buildings this also works with units.
1 Like
Thank you! I can’t quite seem to get it to work though.
Let’s say I want to allow player 4 to train Centaurs from Military Barracks (Atlantean). What am I missing?
(I tried adding a “Remove Train” for the unit currently occupying the spot (Murmillo) and that worked out just fine)
Should note that I have tried both with and without the Remove Train.
What you miss is Proto unit Unforbid. To allow the player to get actively access to the unit in the game.
For example by adding a new trigger with the condition: Player tech available: ClassicalAgeGeneral or HeroicAgeGeneral. And Effect: Protounit: unforbid: centaur.
A question, im seeing the UI-layout of the game, are you working in AoM:EE or AoM Retold? Because if you work in EE the triggernames are different.
I’m working in Retold and I seem to have figured it out.
Thank you so much for your help! 
1 Like