HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

HELP can't save because of Variable Nameing

01-24-2004, 03:37 AM#1
ak47
My map saved before with the variables for the dialog buttons i putted in.
Now I started on cinematics and trigger running on/off. It wont let me save. Heres what it shows.

Stops at when trying to save at variable bar [| | | | | | |]
_______________________________
1 compile error
Line 535: Expected a variable name.
_______________________________

So where would Line 535 be or what to change name on variable. I havn't add any new variables in and those same variables saved earlier before i started to add more triggers. So whats wrong.

[edit]
I just tried to test/play map and when i click play... It just wont load. Its just go back to where you can choose the maps. This variable is messing up my map.
01-24-2004, 03:41 AM#2
DaKaN
Click on the error and it will show you what section of script the error was at.
01-24-2004, 03:57 AM#3
ak47
Heres what it showed.

Script Errors
C:\...\\Working Project\a.k.47's Panda Spell Arena.w3xTemp\war3map.j
1 compile error
________________________________________|
Line 535: Expected a variable name





________________________________________|

________________________________________|




_________________________________________|

Line: | 1 | OK |
So what should I do now. Whats w3xTemp\war3map.j ?!? is that where its located if so how would I get to there.
01-24-2004, 04:28 AM#4
Darimus
are you using custom script or JASS??

it's expecting a variable, and it can't find it

war3map.j is the JASS script file for the map, don't worry about that, just fix the JASS/custom script/header part of your map and fix the line it says that is incorrect
01-24-2004, 04:39 AM#5
ak47
I'm not using Jass Script...

So how would I fix the line?!? Can you show me how. I'm kind of a noob of this type of work. Like show me where to click and do?!?
01-24-2004, 07:21 PM#6
DaKaN
the war3map.j is the file your triggers become, and that's where the error is, but when you click on the error: Expected variable name, in the lower potion of the window it will show your actual script in JASS (what your triggers become when you save) and that will help pinpoint your error.
01-24-2004, 07:27 PM#7
ak47
Alright I'll try that.

___________________________
{EDIT}

Hmm When i load up my map and try to test map it now it works?!? I didnt even do anything to it... So what happen to the variable thing naming. Did it just disapeared and problem solved?!?