Is there a LUA-function that allows a certain building to create another building with some probability? For example: Completing the Barracks has a 10% chance of building an Armory. Is there any way to create a similar function?
You have to use event BuildingAddedToMap or something like that, then you have to implement your probabilities function, and finally to build a building in a positive case.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.