From ea0f3f05e7e1fdccb2c38618048c2b8c57f45c8c Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Mon, 23 Mar 2015 17:55:23 +0100 Subject: [PATCH] Tune sound down --- examples/entityScripts/lightController.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/entityScripts/lightController.js b/examples/entityScripts/lightController.js index dd1a50cd84..ba4fd60b03 100644 --- a/examples/entityScripts/lightController.js +++ b/examples/entityScripts/lightController.js @@ -39,7 +39,10 @@ // Play switch sound this.playSound = function() { if (this.sound && this.sound.downloaded) { - Audio.playSound(this.sound, { position: Entities.getEntityProperties(this.entityID).position }); + Audio.playSound(this.sound, { + position: Entities.getEntityProperties(this.entityID).position, + volume: 0.2 + }); } else { print("Warning: Couldn't play sound."); }