mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 21:57:05 +02:00
logging
This commit is contained in:
parent
bc0216633e
commit
d0660fc90a
1 changed files with 4 additions and 3 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue