Option 1:
PlayObjectAnimation("SlaveGob_1", "attack00", IDLE);Option 2:
function goblin()
while (true) do
PlayObjectAnimation("SlaveGob_1", "attack00", ONESHOT);
sleep (10)
end
end
startThread(goblin)Added 24 minutes later
I also have another problem: when I'm using the editor on another computer, the properties don't seem to work. I'm not sure 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 the new skin was even visible in the editor, but when I entered the map directly 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 a fix can be found for this bug, as it's inconvenient for testing.