Auto-translated
Could you help me understand what the problem is with? I don't really understand why there's such a strange range (2-15) in the second parameter...SetObjectDwellingCreatures('elftown' , 2, 100)
Allows you to set/get the number of creatures that will "grow" in an object, if the latter is a recruitment point (e.g., a town). To clarify, you cannot change the type of creatures being recruited, you can only control their quantity. For example, if you try to use SetObjectDwellingCreatures for an Inferno town with the parameter nCreatureID=1 (peasants), no peasants will appear in the town. (However, this call does not lead to an error). That is, the specified type of stack should, in principle, be possible to recruit in the specified location.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"