Skip to content
User Avatar
#1475
Auto-translated
Heroist
Could you help me understand what the problem is with
SetObjectDwellingCreatures('elftown' , 2, 100)
? I don't really understand why there's such a strange range (2-15) in the second parameter...
I'm not sure, I haven't worked with this command, but maybe its description from the manual will help:
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
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"

Statistics

Welcome our newest member: leyu