sBattery
0
0
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
alarm[0] = 60;
botx[0] = 150;
boty[0] = 16;
targetx[0] = 168;
targety[0] = 184;
facing[0] = 1;
obj[0] = instance_create(168, 184, oBattery);
bot[0] = -4;
botx[1] = 350;
boty[1] = 16;
targetx[1] = 334;
targety[1] = 184;
facing[1] = -1;
obj[1] = instance_create(334, 184, oBattery);
bot[1] = -4;
botx[2] = 480;
boty[2] = 16;
targetx[2] = 512;
targety[2] = 168;
facing[2] = 1;
obj[2] = instance_create(512, 168, oBattery);
bot[2] = -4;
botx[3] = 690;
boty[3] = 16;
targetx[3] = 672;
targety[3] = 184;
facing[3] = -1;
obj[3] = instance_create(672, 184, oBattery);
bot[3] = -4;
botx[4] = 800;
boty[4] = 16;
targetx[4] = 816;
targety[4] = 184;
facing[4] = 1;
obj[4] = instance_create(816, 184, oBattery);
bot[4] = -4;
1
603
7
0
0
-1
2
self
0
0
1
alarm[0] = 30;
i = 0;
repeat (5) {
if (!instance_exists(obj[i]) && !instance_exists(bot[i]) && instance_number(oBatteryExpl) == 0) {
bot[i] = instance_create(botx[i], boty[i], oA5CarrierBot);
bot[i].targetx = targetx[i];
bot[i].targety = targety[i];
bot[i].facing = facing[i];
}
i += 1;
}
i = 0;
repeat (5) {
if (instance_exists(bot[i])) {
if (bot[i].batid != -1) obj[i] = bot[i].batid;
}
i += 1;
}
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1