Skip to content
User Avatar
#989
Auto-translated
yes, by the way, I'm also curious about this code:

function Prepare()
hero = GetDefenderHero()
x1 = GetDefenderCreatures()
end
function Start()
if GetCreatureType(x1[0]) == 114 then
SummonCreature(DEFENDER, 122, 1, 12, 1)
SummonCreature(DEFENDER, 122, 1, 12, 10)
end
end

But it says that there's an incorrect argument when calling the GetCreatureType function.
The thing is, before this, I activate startcombat; maybe it doesn't recognize creature 114 as a defending creature?

Whatever