R
RylanStylin
Guest
When the code tries to read global.boss_array[boss_array_place] in the instance_create_layer statement, the game crashes with that code. I've set the following things in the object's create event.
global.boss_array = array_create(6,[obj_0,obj_1,obj_2,obj_3,obj_4,obj_5]);
boss_array_place = 0;
I dont understand why this is happening. I have tried and tried to get this to work properly but it just doesnt want to. I know for sure that the problem is the array because if i put a obj_1 in instead of global.boss_array[boss_array_place]; it works just fine. It's just the array, but everything is in order. PLEASE SEND HELP
Attachments
-
20 KB Views: 3
Last edited by a moderator: