HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Scripting error

11-25-2007, 10:52 AM#1
Gorman
In one of my maps im getting a strange scripting error, the error is "Expected end of line" and it is after this section:
//***************************************************************************
//*
//* Custom Script Code
//*
//***************************************************************************


Im not sure how to fix it, can sum1 help me?
(also i have no custom script code, and have attempted none)
11-25-2007, 11:01 AM#2
Pyrogasm
The wc3 syntax checker is abominably wrong all the time. You have an error somewhere else in one of your triggers, but the internal syntax checker bugs out and thinks its in the custom script.

Download the NewGen World Editor and it'll find the error properly.
11-25-2007, 11:52 AM#3
cohadar
LoooL Pyro.
11-25-2007, 09:02 PM#4
Silvenon
I had retarded sintax errors pointing a line in the "code made by WE" (I don't know how to call it). I'm talking about those set starting locations, regions settings and stuff like that. I was using NewGen, that's what surprised me the most. I didn't have errors in my script, but I couldn't save it. But for some reason NewGen saves it anyways, even if it returns an error. So I closed the map, opened it and tried to save it, and it worked.........weird.
11-25-2007, 10:39 PM#5
HINDYhat
Well isn't that when you use libraries and such, and you don't save before testing?
11-25-2007, 11:25 PM#6
Gorman
i didnt even know u could get an error like that from regular triggers, il dl NewGen now and see if it fixes it, ty
btw any idea on how to fix without dling NewGen? my net is kinda slow at the moment...

Dw all fixed now