The full error:
SCRIPT ERROR: execute_script_threaded: Invalid get index '1' (on base: 'Array').
At: res://game.gde:4960
the spawn code
if global.property["Spawned"] == false then
play_sound("Stone.wav");
lock_camera();
move_camera("Spawn");
if global.property["Spawned"] == false then
add_character("SuitZombie", "S1", "1");
wait(0.2);
add_character("SuitZombie", "S2", "2");
wait(2);
end ;
reset_camera();
elseif global.property["Spawned"] == true then
end;
global.property["Spawned"] = true;