Help, can't Save Script!

Post » Mon Mar 14, 2011 6:25 pm

Hi all.

I am having trouble saving my scripts in the TES CS. When i press the save button nothing happens. I don't even get an error!
I have tried reinstall oblivion and the Cs with no luck. Does Anyone knows whats wrong?
User avatar
Ross Zombie
 
Posts: 3328
Joined: Wed Jul 11, 2007 5:40 pm

Post » Tue Mar 15, 2011 2:01 am

When i press the save button nothing happens. I don't even get an error!

Do you have "elseif" in your script?
If you do, then I guess you have nothing after that like:

if blahblahblah
zzzzz
elseif <---- use else instead of elseif
bzzzz
endif

This mistake I once did, so probably you have the same problem.
User avatar
Nice one
 
Posts: 3473
Joined: Thu Jun 21, 2007 5:30 am

Post » Tue Mar 15, 2011 12:36 am

Hi all.

I am having trouble saving my scripts in the TES CS. When i press the save button nothing happens. I don't even get an error!
I have tried reinstall oblivion and the Cs with no luck. Does Anyone knows whats wrong?

Is it that it really doesn't save, or is it just that you think that it should tell you that it has performed a save?
User avatar
Elea Rossi
 
Posts: 3554
Joined: Tue Mar 27, 2007 1:39 am

Post » Tue Mar 15, 2011 4:14 am

Are you saving the script AND the esp file itself?
User avatar
Project
 
Posts: 3490
Joined: Fri May 04, 2007 7:58 am

Post » Tue Mar 15, 2011 1:59 am

I've had some odd behaviour with this too. If you're trying to create the script by using the ellipsis (that's the ...) next to the script drop-down when you are trying to add an object, for example, you might find that your script doesn't show up in the list afterwards. Sometimes you can simply click the OK button and open the object properties dialog again and then your script will appear in the list. I've also found I need to save my plug-in, exit the CS and load it up again for the script to appear. I've also had some cases where just clicking the save icon in the script editor doesn't work. I have found better results by selected File - Save in the script editor. I don't usually have a problem if I use the script editor by clicking on the pencil icon from the toolbar or selecting Gameplay - Edit Scripts... So you might try always using File - Save in the script editor and accessing the script editor from the menu or toolbar and see if that fixes your problem.
User avatar
Batricia Alele
 
Posts: 3360
Joined: Mon Jan 22, 2007 8:12 am

Post » Mon Mar 14, 2011 3:14 pm

Do you have "elseif" in your script?
If you do, then I guess you have nothing after that like:

if blahblahblah
zzzzz
elseif <---- use else instead of elseif
bzzzz
endif

This mistake I once did, so probably you have the same problem.


this,

no error is given, but the script will not compile and save. Very annoying error. It also means you cant close the script window to save the mod either, so you just have to go through all your code and find where you have used an elseif with no parameters and replace it with an else.
User avatar
Spooky Angel
 
Posts: 3500
Joined: Thu Aug 10, 2006 5:41 pm


Return to IV - Oblivion