i likely ran into the same or a related issue. i dont know much about javascript though.
for(var i = 0; i < elevators.length; i++) {
elevators[i].on("idle", function() {
for(var j = 0; j < floors.length; j++) {
elevators[i].goToFloor(j);
}
})
}
it only works for "i < 1" and then only the second elevator moves... its kinda sad as i immediately enjoyed playing ...