Max Script Size

Post » Sat Feb 19, 2011 8:42 am

I build some default NPC script for actors that will give them random class, bitrhsign, weapon and armor limitation and spesific tank every week.
All these to be written, really require too much space, so i finaly get error message from script editor, that tells me that i have reached the maximum script size.
I was wandering if OBSE has any command to allow me write larger scripts.... or any other way.

Anybody knows anything?
User avatar
Fam Mughal
 
Posts: 3468
Joined: Sat May 26, 2007 3:18 am

Post » Fri Feb 18, 2011 8:00 pm

Installing OBSE already increases the Max_Script_Size (or was it http://www.gamesas.com/index.php?/topic/1177039-rel-construction-set-extender/, not sure).

If that's not enought (I know, new limit is hard to reach but still possible using many strings :hubbahubba: ) you can still use http://www.obse.silverlock.org/obse_command_doc.html#User_Defined_Functions to split up your Script.
User avatar
A Lo RIkIton'ton
 
Posts: 3404
Joined: Tue Aug 21, 2007 7:22 pm

Post » Fri Feb 18, 2011 9:20 pm

CSE doubles the limit placed on script compiled code while OBSE removes the limit on the size of script text.
User avatar
Wanda Maximoff
 
Posts: 3493
Joined: Mon Jun 12, 2006 7:05 am

Post » Fri Feb 18, 2011 7:30 pm

CSE doubles the limit placed on script compiled code while OBSE removes the limit on the size of script text.


Need to do something to remove the limit?
Cause i m using OBSE CS kai i get the limit on about 600 lines
User avatar
Cagla Cali
 
Posts: 3431
Joined: Tue Apr 10, 2007 8:36 am

Post » Fri Feb 18, 2011 10:20 pm

Need to do something to remove the limit?
Cause i m using OBSE CS kai i get the limit on about 600 lines
No. Either CSE's not getting loaded properly or you got a lot of code in those lines.
User avatar
Sarah Bishop
 
Posts: 3387
Joined: Wed Oct 04, 2006 9:59 pm

Post » Sat Feb 19, 2011 5:18 am

I've run into the same problem a few times. What I do is use user functions and if that's still not enough split the script into multiple parts.
User avatar
Helen Quill
 
Posts: 3334
Joined: Fri Oct 13, 2006 1:12 pm


Return to IV - Oblivion