function goblin()
while (true) do
PlayObjectAnimation("SlaveGob_1", "attack00", IDLE);
sleep (0.5)
end
end
startThread(goblin)
I insert it into the map script and go to test it. I launch the map, it loads, and when I'm actually in the game, it freezes completely. At the same time, I can hear sounds of hooves, clanking armor, and so on. Can you tell me what I did wrong? I can't figure it out.
I also have another problem: on a different computer, when I'm using the editor, the properties function doesn't work. I don't know if everything else is broken, but when I was creating a custom hero based on one of the existing templates, I changed his special ability, biography, appearance, description, and everything else. All of this was saved, and I could even see the new skin in the editor, but when I entered the map in the game, I was presented with a completely vanilla hero. It was Nura with her vanilla biography, specialization, icon, and model, but it should have been a completely different hero. This isn't critical, but maybe there's a fix for this bug, because it's inconvenient for testing.