In the main menu of my game i’ve got a soundtrack but its only about 30s long. I would like my soundtrack to repeat in an infinate loop. I know when the sound finishes it automatically sends the message sound_done back to the sender of play_sound, so i made a script below, do you know why this doesn’t work?
function on_message(self, message_id, message, sender)
if message_id == "sound_done" then
msg.post("/go#main_menu1", "play_sound")
end
end