Originally posted by MisterScripter
So I'm working on a menu I don't know if you would call this an edit but im using IPRoFamily's menu base, BUT I'm editing the part that opens the menu. I want it to be when you open the menu, it creates like a prestige slider kind of menu and if you click one of the options in the slider it takes you to that menu. I have not added any mods yet except the test mod (God Mode). When I try to start a game with the .iwd it gives me an error trying to load. Script Compile Error, Bad syntax. Although, I have checked the syntax with Syntax Checker v3.3 If anyone can help me (please understand I am new to coding mw2), i would greatly appreciate it. The missions.gsc is in mp/gametypes. This is a PC .iwd file:
You must login or register to view this content.
The error I think is in _missions.gsc.
I'm at work so I can't download the file and check your syntax, but typically bad syntax errors aren't too complicated to fix - they just seem complicated because the bad syntax could be anywhere, but once you find them it's quite easy.
Usuallly it's something simple like you've put;
self _addOption ("Option 1")
instead of
_addOption ("Option 1");
Or missing a { or }
GodMode()
{
while (1)
{
}
instead of
GodMode()
{
while (1)
{
}
}
Basically, rule out what the game is telling you. In other words, you do have bad syntax, you just have to rule obvious things out like spelling mistakes and missed characters like i've set out above.