Is it possible to write a script that will give you another additional unit when creating a unit?

Mtgkuvalda

Chieftain
Joined
Apr 22, 2018
Messages
53
I really want to make a change for Scythia, according to which the light cavalry units will be given to the riders of previous eras. That is, for a horseman there will be a barbarian horseman, for a curser-horseman, etc. In the game itself, I did not find such a template - here either copying a unit, or a unit appears in the city for a trigger - but there is also no such trigger as creating a unit. Even mods in the steam I did not find with such a task. Is this a hopeless idea?
 
Yup. Just take this ability from the code from the respective building that does that and add it to something like a Policy Card/Building(Palace, for example)
 
Yup. Just take this ability from the code from the respective building that does that and add it to something like a Policy Card/Building(Palace, for example)
Thanks for the answer! To be honest, I did not understand how it is possible to implement my idea through the Policy Card or the building (if this was meant). In principle, I came up with another version of nerf-cavalry is duplicated since the Middle Ages (with courser), and in antiquity only Saka is copied. At the same time, there is more interest in this unit, which is overshadowed by the usual horseman.
 
Back
Top Bottom