This commit is contained in:
ericrius1 2016-02-18 16:17:22 -08:00
parent bc0216633e
commit d0660fc90a

View file

@ -13,9 +13,9 @@
Script.include("../libraries/utils.js"); Script.include("../libraries/utils.js");
var numSoundsToPlayPerBatch = 60 var numSoundsToPlayPerBatch = 50
var numSoundsPlaying = 0; var numSoundsPlaying = 0;
var timeBetweenBatch = 100000; var timeBetweenBatch = 30000;
// A green box represents an injector that is playing // A green box represents an injector that is playing
var basePosition = { var basePosition = {
@ -67,7 +67,8 @@ function playSound() {
numSoundsPlaying++; numSoundsPlaying++;
print("NUM SOUNDS PLAYING: " + numSoundsPlaying); print("NUM SOUNDS PLAYING: " + numSoundsPlaying);
print("*******************************************"); print("*******************************************");
print("INJECTOR VALUE: " + JSON.stringify(injector)); print("INJECTOR VALUE: ")
print(JSON.stringify(injector));
totalInjectors++; totalInjectors++;
var soundBox = Entities.addEntity({ var soundBox = Entities.addEntity({