CS won't let me edit scripts

Post » Fri Feb 18, 2011 10:10 pm

Hello.

I've been facing a very annoying problem for a while... basically, CS won't let me edit scripts.
The moment I try to save the script back, I often get an error message saying it couldn't find certain script commands.
Here's an example :
http://img222.imageshack.us/f/scriptt.jpg/
Here, it says the command "array_var" at line 112 wasn't found, but as you can probably see on the screenshot, it's actually there.
That's not even the part I edited.

I've been encountering this issue on numerous mods I tried to edit the scripts. Works for some, but for some others... I get this problem.

Any idea what's causing this ? This is driving me nuts :(
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am

Post » Sat Feb 19, 2011 7:37 am

Hello.

I've been facing a very annoying problem for a while... basically, CS won't let me edit scripts.
The moment I try to save the script back, I often get an error message saying it couldn't find certain script commands.
Here's an example :
http://img222.imageshack.us/f/scriptt.jpg/
Here, it says the command "array_var" at line 112 wasn't found, but as you can probably see on the screenshot, it's actually there.
That's not even the part I edited.

I've been encountering this issue on numerous mods I tried to edit the scripts. Works for some, but for some others... I get this problem.

Any idea what's causing this ? This is driving me nuts :(


It says the command was not found, not that it couldn't find it at this specific line in your script. It just doesn't know the variable type "array_var" as it's coming from OBSE.
You need to start the CS via "obse_loader.exe -editor" or OBSE features will not be recognized when the scripts are compiled. You'll either loose them permanently or it will keep complaining.

edit: The CS surely has the most unintuitive error messages I've ever seen so far. There should be a dictionary "CS Errors <--> Human Readable" or something like that!
User avatar
Alexx Peace
 
Posts: 3432
Joined: Thu Jul 20, 2006 5:55 pm

Post » Fri Feb 18, 2011 10:02 pm

Wow, I really didn't think about this. It does make sense.
Thank you very much for your help. I would have never been able to figure this out by myself.
User avatar
Amber Hubbard
 
Posts: 3537
Joined: Tue Dec 05, 2006 6:59 pm

Post » Sat Feb 19, 2011 6:23 am

... I would have never been able to figure this out by myself.

I doubt this, but you're welcome ;)
User avatar
john page
 
Posts: 3401
Joined: Thu May 31, 2007 10:52 pm


Return to IV - Oblivion