This script suggested by Monte is a more elegant version than the one I'm
already using. It goes in the script for the player playing the "Splabel1"
etc. sound. Right? In this case, any one of the 5 randomly chosen splabel
sounds should start the chant. So I tried sticking this in the  script for
each of their players. I also tried it in the stack script and the
background script.

on playStopped tPlayer
  switch tPlayer
  case "splabel1"
    start player "chant"
    break
  case "splabel2"
    start player "chant"
    break
  case "splabel3"
    start player "chant"
    break
  case "splabel4"
    start player "chant"
    break
  case "splabel5"
    start player "chant"
    break
  end switch
end playStopped

On the other hand if I put this in the stack script and type splabel1 into
the message box, the chant player does play.

on splabel1
 start player "chant"
end splabel1

What am I missing?

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to