Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: FastaKilla on May 22, 2003, 09:32:52 PM

Title: Sound Question
Post by: FastaKilla on May 22, 2003, 09:32:52 PM
How do you play a sound just once (like the score sound, #900)?  I have

(send gTheMusic:
                  prevSignal(0)
                  stop()
                  number(900)
                  loop(-1)
                  play()
)

but it plays it over and over.  How can I get it to play just once, then go back to playing the earlier music?
Title: Re:Sound Question
Post by: Te Rangi on May 22, 2003, 09:43:10 PM
Code: [Select]
(send gTheMusic:
                 prevSignal(0)
                 stop()
                 number(900)
                 loop(0)
                 play()
)

should help you :)