Skip to content

Current questions and answers regarding the map editor.

#545
Auto-translated
codenameray
My editor crashes as soon as I click "edit script," and I can't type text in the field below that button, so your method won't work here.
And can I just create this Lua file myself using Notepad, or does the editor have to create it specifically for this map?

Regarding the extended editor, I don't know; maybe it is the extended one... If not, where can I get it?
:) If you don't know which editor you have, I'm going to assume it's not the extended one. Do this: in the game directory, in the profiles folder, open the file editor_a2cfg and in the line setvar map editor mode, change the value from 1 to 0; save the changes, launch the editor, and - voila! - it will now run in extended mode.
codenameray


And I read everything on that page and didn't understand anything. It talks about some trigger, meaning that, as I understand it, some scripted actions should be performed there, but I just wrote text in the properties of the monster in the message tab. I won't be able to figure out triggers.
Triggers (in other words, action starters) are the foundation of scripting; without them, you're unlikely to achieve anything worthwhile with scripts.
codenameray


Added 5 minutes later
By the way, what script do I need to write so that introductory messages appear at the beginning of the game?
I looked at the script on Gantrytor, but no messages appear at the start there, so it's not what I need.
How is it that they don't appear? - There are 4 text messages in a row:confused: (Download the map again, launch the game and the map (without opening it in the editor), and you'll see for yourself; you probably did something to it when you opened it in the editor, which is why the messages aren't appearing)