// Test for Jimi's domain. // Going to try and make crows taking flight and play the sound when player enters zone. (function() { var birdSound = SoundCache.getSound("https://hifi-content.s3.amazonaws.com/jimi/personal/sounds/birdSounds.wav"); if (birdSound.downloaded) this.enterEntity = function(entityID) { // When player enters this entity, birdSound will play print("YAY I WALKED INTO THE CUBE"); Audio.playSound(birdSound, { Volume: 1 }); } });