Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4877
Auto-translated
I'm having a strange problem with delays. In the scripts, I write the following:
PlayObjectAnimation("SlaveGob_1", "attack00", IDLE);
sleep(2)
But instead of waiting for two seconds (which are seconds, right?), this goblin, as if ignoring the bottom line, gets stuck in a loop with the animation without any visible delays. I need it to hit the ore, wait two seconds, and then hit it again, repeating the cycle endlessly.