You shouldn't do it this way.function Loose ()
while 1 do
sleep (1)
if IsHeroAlive ('Gottai') == nil then -- gotai died, boo hoo
sleep (5)
Loose();
end
end
end
startThread (Loose)And this way is also not correct.kool1 = 0
function kool1 ()
while 1 do
sleep (1)
if GetObjectOwner ('elftown') == PLAYER_1 and kool1 == 0 then
TransformTown ('elftown' , 1)
kool1 = 1
end
end
end
startThread (kool1)
Regarding the map:
I started playing, and the terrain is amazing!:smile20: I haven't seen such good detailing anywhere else. I noticed that in the "Destroy Five Blazing Crystals" quest, Loran is called Alaric.;)
Nerzul is not a suitable name for a necromancer.:o This is, of course, just my opinion.
1) How can I do it correctly? I don't know any other way :D
Oh, I understand where I made a mistake in the first example. But what's the problem with the second one? Is it the endless check with self-destruction of the 'if' statement?
2) Thank you for the compliment about the terrain. Actually, the area around the river was made using the eraser tool in the editor, which is why some of the banks are still square. :)
3) Just my opinion? :confused: :)
The rest can be fixed. I couldn't remember where I had heard that name before, but I remembered it when I was working on the Mages quest. :D
Thank you for the feedback.