mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
added comment and name
This commit is contained in:
parent
33a232edde
commit
e4508e1d34
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
Script.include("../libraries/utils.js");
|
Script.include("../libraries/utils.js");
|
||||||
|
|
||||||
|
|
||||||
var numSoundsToPlayPerBatch = 35
|
var numSoundsToPlayPerBatch = 35 // Number of simultaneously playing sounds
|
||||||
var numSoundsPlaying = 0;
|
var numSoundsPlaying = 0;
|
||||||
var timeBetweenBatch = 30000;
|
var timeBetweenBatch = 30000;
|
||||||
// A green box represents an injector that is playing
|
// A green box represents an injector that is playing
|
||||||
|
@ -76,6 +76,7 @@ function playSound() {
|
||||||
|
|
||||||
var soundBox = Entities.addEntity({
|
var soundBox = Entities.addEntity({
|
||||||
type: "Box",
|
type: "Box",
|
||||||
|
name: "Debug Sound Box",
|
||||||
color: {red: 200, green: 10, blue: 200},
|
color: {red: 200, green: 10, blue: 200},
|
||||||
dimensions: {x: 0.1, y: 0.1, z: 0.1},
|
dimensions: {x: 0.1, y: 0.1, z: 0.1},
|
||||||
position: position
|
position: position
|
||||||
|
|
Loading…
Reference in a new issue