Hallo an alle, ich habe ein Problem, ich möchte gerne in meinen Projekt einen Musikhintergrund einbauen, das ist nicht weiter so schlimm aber wenn der eine Sound in Kanal 3 vorbei ist soll zufällig im Selben Kanal ein anderer abgespielt werden, ich hatte folgendes Script benutzt
on beginsprite me
if random(5) = 1 then
puppetsound 3, "Sound 1"
end if
if random(5) = 2 then
puppetsound 3, "Sound 2"
end if
if random(5) = 3 then
puppetsound 3, "Sound 3"
end if
if random(5) = 4 then
puppetsound 3, "Sound 4"
end if
if random(5) = 5 then
puppetsound 3, "Sound 5"
end if
if soundbusy(3) = True then
nothing
if soundbusy(3) = False then
if random(2) = 1 then
puppetsound 3, "Sound 1.1"
if random(2) = 2 then
puppetsound 3, "Sound 2.2"
end if
end if
end if
end beginsprite
Bitte helft mir weiter, es gibt keinen Scripterror, doch es tut sich einfach nichts
Gruß
Sebastian