Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5128
Auto-translated
}{0TT@6bI4
Well, Jack of Shadows has a method in his FAQ. The only thing I'll add is that each Lua script should have a corresponding XDB file. In the Map Properties Tree/Map Script, create a new XDB and, in the properties window that appears, specify your Lua file (the top line of the properties). I think you also need to put test.lua in the game's folder.
Yes, you need to call it like this: @DoFile(MYFILE)

1) I read the method again and will try it. But a question arises: where exactly? In the data folder? (Jack of Shadows specified this folder)

2) Another quick question about mega AI. It says version 3.0... and after reading the comments, a couple of users said that there are no problems with version 3.1 either. Have you installed this mod?