Hello everyone, I'm starting modding Civ this week, and I got to grips with lua fastly, but I'm unable to manage on how could I add a Complete New Unit (With new UNITCLASS), that could be built only by my Civ.
Right now, my completely new unit is unlocked to built for every civ, but I want it do be built just by my civ.
I wanna help on how could I code that, I preffer LUA, but may be SQL, I've tought about using Player.CanTrain or City.CanTrain or GameEvents.PlayerCanTrain, but
I can't manage on how to work with these to do what I want, the max I got is that just my civ is able to built units, other civs can't build ANY other unit
Right now, my completely new unit is unlocked to built for every civ, but I want it do be built just by my civ.
I wanna help on how could I code that, I preffer LUA, but may be SQL, I've tought about using Player.CanTrain or City.CanTrain or GameEvents.PlayerCanTrain, but
I can't manage on how to work with these to do what I want, the max I got is that just my civ is able to built units, other civs can't build ANY other unit
