Page 1 of 1
Error upon loading a custom ship
Posted: Sat Jun 29, 2013 7:07 am
by TehDictionary
I keep getting this error when I use custom ships with more than two weapons textured w/ different sprites. Any help appreciated.
Spoiler!
___________________________________________
ERROR in
action number 1
of Create Event
for object __newobject1097:
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
___________________________________________
ERROR in
action number 1
of Step Event
for object ctr_Turrets:
Error in code at line 48:
else if (dc_group != -1 && l_owner.dc_controlled) then
at position 29: Unknown variable l_owner
___________________________________________
ERROR in
action number 1
of End Step Event
for object ShipSection:
Error in code at line 275:
image_angle = l_owner.image_angle + l_angle + rs_rotang
at position 20: Unknown variable l_owner
___________________________________________
ERROR in
action number 1
of End Step Event
for object ShipSection:
Error in code at line 275:
image_angle = l_owner.image_angle + l_angle + rs_rotang
at position 20: Unknown variable l_owner
___________________________________________
ERROR in
action number 1
of End Step Event
for object ShipSection:
Error in code at line 275:
image_angle = l_owner.image_angle + l_angle + rs_rotang
at position 20: Unknown variable l_owner
Re: Error upon loading a custom ship
Posted: Sat Jun 29, 2013 7:19 am
by Zalausai
Are you using the most recent version of the game?
viewtopic.php?f=3&t=7034
Also, is the weapon depthed (pressing "w") before you mirrored it?
If it is mirrored while it is depthed, it can cause errors.
Re: Error upon loading a custom ship
Posted: Sat Jun 29, 2013 7:21 am
by TehDictionary
Oh, okay, thanks very much. Downloading now.
Edit: Thank you very much Zalausai, it works!
Re: Error upon loading a custom ship
Posted: Sat Jun 29, 2013 7:22 am
by Zalausai
This may not fix everything. These are simply the most common solutions.
Re: Error upon loading a custom ship
Posted: Sat Jun 29, 2013 7:30 am
by TehDictionary
It works! Thank you.