Skip to content
User Avatar
#3331
Auto-translated
GetHeroCreaturesTypes returns the result as 7 values, which require 7 variables (or table fields).
An example of its use is shown below:
-- into several variables
local a, b, c, d, e, f, g = GetHeroCreaturesTypes(hero)

-- into a table
local t = {}
t[1], t[2], t[3], t[4], t[5], t[6], t[7] = GetHeroCreaturesTypes(hero)
The method called Gerter should also work. If the code doesn't function with it, then the error lies in something else.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4