Anyway with your method we can't fully write a trigger in plain galaxy, right ?
So i suppose i will keep MotiveMe's way ...
Nevermind, i got this trick to work now, this GUI is so confusing, i even can't see which custom script i've added if i don't double click on it, else it just display "custom script : none" ...
I can't believe that i've missed the "custom script" action, i used "action definition" instead ...
Oh well it's really easy.
Can you clarify steps 2 and 3?
I don't see anywhere you can actually input your custom script, which means I failed one of those two steps...or it's also possible that this method is already obsolete, in which case, can someone verify?
There is a "custom script" action in "trigger action", but warning the editor is fully localized with your language, so if you don't have an English or American version, it will be called something else, like "script personnalisé" in French.
Because it's a beta, the traduction is kinda lame sometimes, but you can display data as ... argh i don't have the English name.
The shorcut is Ctrl + D (hope it's the same for all local language), then search for "customscriptaction".
When you have created it, select it and click in the next bottom window (under the gui trigger) and type you code inside this window.
I would just edit the MapScript.galaxy file directly.
(I did that in Warcraft 3 with war3map.j and it worked exceptionally well for me.)
There is nothing better than having full control over your program!
I can decide what kind of syntax highlighting I want. (I'd use a modified C-highlighter with all SC2 natives added to it.)
A tiny temporary program could do the syntax checking by submitting the code every x seconds to galaxyvalidator. (Until somebody makes a real syntax checker.)
Using a real Programmer's Notepad is so much better than typing into a small textbox.
Rollback Post to RevisionRollBack
Curse can't handle nicknames that begin with a number. (Like my name. )
Excellent. I didn't realize the input area was the ordinary-looking bottom right box.
Any half-decent text editor or IDE would be better than this GUI tool for scripting. I think the issue, though, is that Blizz made it much more difficult than it should be to edit this file or import another .galaxy file. The only other workaround I know about is MotiveMe's, but they're both rather ugly and I'd be interested if anyone had a cleaner solution.