I am running a game that is storing distance and directional data for individual instances, but I am being told that the n value is greater than 32000 and can't be used. What sense does that make when instance_id is by default going to start with 100000?
with(instance_id[obj_cockpit.wall1]) x = lengthdir_x(wall1_len,wall1_dir)
with(instance_id[obj_cockpit.wall1]) y = lengthdir_y(wall1_len,wall1_dir)The error I'm getting is
ERROR in
action number 1
of Step Event
for object obj_cockpit_wall:
Error in code at line 3:
with(instance_id[obj_cockpit.wall1]) x = lengthdir_x(wall1_len,wall1_dir)
^
at position 35: Array index >= 32000Is it the way I'm using instance_id that's wrong? It can't be that I have to manually set instance ids and then use them, is it?
Edited by AnalogF6Games, 03 September 2012 - 07:54 PM.



This topic is locked







