Add sound names required for map sounds and game sounds to play, instead of relying on arbitrary integers.
Declaration on CubeScript:
registersound "jump" "player/jump01" 80
Example on C++:
playsound("jump", player);
Declaration on CubeScript:
mapsound "distantShip" "ambient/metald_01" 120
Example on CubeScript:
trigger "playSound" "proximity" [
triggersound "distantShip" $eventsource
]
Add sound names required for map sounds and game sounds to play, instead of relying on arbitrary integers.
Declaration on CubeScript:
Example on C++:
Declaration on CubeScript:
Example on CubeScript: