Alright thanks...Hey another question came to me regarding JASS Script. You know how unprotectors like Xdep and Deprotector put the JASS script into one trigger? So that there's like a huge long list of functions/endfunctions within one trigger? Will a map work like that, or does each function/endfunction pairing need to be in its own trigger?
And could you point out specifically where that syntax checker in World Editor is? I couldn't find it. Thanks.
Edit: Actually what would probably be easier...I don't know if anyone feels up to it, but I have a JASS script that doesn't seem to work. For some reason WE won't tell me what the errors are when I save it...But could someone maybe take it and do something to it so that it works? heh...
I just don't understand JASS hardly at all, so I can't do anything with it myself. Someone could try to explain to me what to do, if that's easier. The script is fairly long (I think)...so...
Here are two versions...The second is the .wct file (in Notepad) exported from the unprotected map using File>Export Triggers, and the first I believe is the war3map.j file in Microsoft Word...
You do not have the required permissions to view the files attached to this post.
Last edited by Philo223 on August 11th, 2007, 3:44 pm, edited 1 time in total.
Philo223 wrote:If there isn't I need some kind of program that checks for errors in JASS, or a person who can do the same thing.
The World Editor has a syntax check... a better syntax-check doesn't exist...[/quote]
That's 150% untrue. There's PJass, which has an awesome syntax checker compared to the noob WE. PJass is implemented in JassCraft, and JassNewGenPack. I'd suggest you get either one of those...
And about the Xdep stuff, yeah it's all put in one single trigger which runs on Map Init and then creates the triggers. The map should work fine. You should read GhettoChild's tutorial on how to restore a map's triggers (not with the GUI)
The syntax checker is... there... It runs each time you save/test a map.
About your Jass script... you probably didn't initialize the global variables. Xdep fucks like that sometimes. I think you need to manually add them, but I'm really not sure.