Hi there! I’m trying to make a map where a specific player can train Militia and Kataskopos, I’m trying to work with triggers but seems not works as intended, I’ll be more specific:
With ProtounitAddTrain I’ve set the Militia in slot 0-0 of the Military Academy and removed the Hoplite from the trainable units for Player 2, the Militia is on the grid and can be trained with right click but not with the left click, why?
The Militia had 0 seconds training so the unit spam is a big problem, when click with right click militia keep spawning instantly. I’ve tryed to change the training time with trModifyProtounitData - Building Training Rate - Assign (or absolute) but nothing change.
I’m trying to do the same thing with Kataskops, I’ve literally copy-pasted the same trigger but changing the Military Academy with the Stable and set the Kataskopos in slot 0-0 with ProtounitAddTrain but the Kataskopos can’t be trained at all.
I’ve tryed to change the grid location, literally in every slot from 0-0 to 3-5 but it doesn’t work. Also Militia doesn’t work anymore if I try to redo the same trigger to a new blank map just to try.
Anyone had ideas on how it works? It’s bugged? Make it with VS Code doesn’t change it at all.

