Skip to content
User Avatar
#3663
Auto-translated
Long
Does anyone know the name of the function that regulates the creature growth in dwellings? My idea is this: if the condition is not met, then when a new week arrives in the daily function (the one called NEW_DAY_TRIGGER), the dwelling growth is equal to 0.

P.S. I've already found SetObjectDwellingCreatures. Strangely enough, it doesn't work on dwellings, only on cities. Is there a similar function that works on dwellings?
To be honest, it seems like a trivial task, and I couldn't find a solution myself at the time. The described function only works with cities, that's true. And I didn't find another one, nor did I see it in the documentation.


Не уходи безропотно во тьму,
Будь яростней пред ночью всех ночей,
Не дай погаснуть свету своему!

Хоть мудрый знает – не осилишь тьму
Во мгле словами не зажжёшь лучей –
Не уходи безропотно во тьму.


                                                                                       

Statistics

Welcome our newest member: artem