Auto-translated
GetObjectNamesByType
GetObjectNamesByType — Retrieves all objects of a specified type
Syntax
GetObjectNamesByType(objectTypeName);
Description
Retrieves all objects of a specified type. For buildings, you need to specify the type (objectTypeName),
which is defined in Shared-Type. For monsters, it's Creature. For heroes, it's HeroClass. For
towns, it's TownRace. You can use substrings to specify more general types.
For example: BUILDING — all buildings. ABANDONED_MINE or BUILDING_ABANDONED_MINE — for
abandoned mines. DWELLING — for all dwellings. DWELLING_<dwelling type> —
specific dwellings. CREATURE — all monsters. CREATURE_PEASANT or simply PEASANT
— peasants. HERO — all heroes. HERO_CLASS_WIZARD — all heroes of the Academy. TOWN — all
towns. TOWN_HEAVEN — all towns of the HEAVEN race.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4