Skip to content

Posts from The StartAdvMapDialog script is not working.

No ratings yet — be the first to rate!
#1
Auto-translated
Dear friends! I had some free time and decided to delve into the world of Mapmaking. Before, I dabbled in it occasionally, but without scripts or anything too complicated. But now that day has come.
I watched guides, read discussions, studied the standard manual, and gradually started creating a map line by line.
And then, when I already felt like a scripting guru, I encountered a problem that I tried to solve for about 5 hours, but couldn't figure it out. I am asking for help from those who know more!

The essence of the problem:
Here is my script:


Just so you know, I tried putting it in a separate function and not using `ifthen`, all to no avail. At the same time, the script for giving quests works!

Here’s what it looks like in the editor:


I also tried setting the camera settings manually and through the plus sign – nothing helps.
Attachments 2
2 files attached • Total size: 35.5 KB
User Avatar
#2
Auto-translated
I don't quite understand what the problem is; is the video not playing?

Added 2 minutes later
And video number 0 was created (unlikely to be the cause, but just in case).
In reply to LetoX
#3
Auto-translated
Yes, the video doesn't play. I've already tried deleting the first frame and making it the first, second – it doesn't help.
No errors are displayed in the console either.

Added 18 minutes later
I just created another completely blank map and... it worked...
But this time I created a single-player map, and before that, it was a multiplayer map. Could this be the problem?
In reply to Dark Anarax
User Avatar
#4
Auto-translated
Now everything is clear. In multiplayer, most of the scripts don't work (or rather, they have their own scripts).

Statistics

Welcome our newest member: leyu