Skip to content
#3579
Auto-translated
Thanks, I'll try it now.

Added 36 minutes later
Hottabych, the script doesn't seem to be working. The script editor immediately started giving errors, but I added another "end" before "sleep," and it stopped. However, now, when I try to load the map, the game freezes completely at the "press any key" message, and I have to exit using Ctrl + Alt + Del; there's no other way. Did I understand correctly that I need to write the script in the Map Script, and not on the gates themselves? And this line confuses me: while not IsObjectEnabled("Garnizon_1") do sleep(1)end I don't understand Lua or scripts at all, but this is the first time I've encountered writing "end" just like that at the end – is that how it should be, "do sleep(1)end," or should it be written on a new line or two lines?

Statistics

Welcome our newest member: leyu