Custom ship spewing out errors...

Got questions about Shipmaker? Get answers here. Please read the stickied topics first!

Moderators: th15, Moderators

Post Reply
HeliFreak
Ensign
Ensign
Posts: 4
Joined: Tue May 13, 2008 3:45 pm

Custom ship spewing out errors...

Post by HeliFreak »

Hi, ive been making ships for a while now but none have been more than 5 minute half-assed things mainly for testing. But now i try to make one thats actually any good and it spits out this error...


___________________________________________
ERROR in
action number 1
of Create Event
for object __newobject1016:

In script nTur2:
Error in code at line 24:
l_section[argument6].l_child[l_section[argument6].l_childnum] = l_weapon[wj]

at position 4: Unknown variable l_section or array index out of bounds

I have no idea why this happens... It happened on another ship but i thought it was because of the section that flew out of the boundaries for no reason... hope someone knows whats wrong with it...

Thanks in advance.

Oh and link to file...

http://www.wyrdysm.com/battleshipsforev ... lareon.rar
Cycerin
Captain
Captain
Posts: 395
Joined: Fri Nov 09, 2007 3:13 am

Post by Cycerin »

You have probably tried to mirror a depth-toggled weapon or thruster. Delete them and resave, and it should work.
HeliFreak
Ensign
Ensign
Posts: 4
Joined: Tue May 13, 2008 3:45 pm

Post by HeliFreak »

By the depth-toggled thingos i think you mean using the 'w' key cos i got rid of them and it worked... thanks!
Cycerin
Captain
Captain
Posts: 395
Joined: Fri Nov 09, 2007 3:13 am

Post by Cycerin »

Yep, that's it. I kept fucking up that until I learnt to mirror them before i depthed.
Silverware
Commodore
Commodore
Posts: 626
Joined: Fri Apr 17, 2009 11:50 am

Post by Silverware »

Oh so THATS what causes that!
Well thats going to save some hassle in the future.
Post Reply