Code: Select all
defineSound
{
name = "rock_fall",
filename = "mod_assets/sounds/rock_fall.wav",
loop = false,
volume = .8,
minDistance = 3,
maxDistance = 10,
}Is there something I'm missing?
Also, here's the script entity:
Code: Select all
function blockPassage()
party:shakeCamera(.5, 2)
playSoundAt("rock_fall", 1, 8, 27)
endUPDATE: Nevermind! I crashed my editor which forced me to reload the editor itself and not just the level, which fixed it I guess.
