This should be placed in a frame with a sound member in the score channel that contains cuepoints. This is for score based, not puppeted, sounds.
property whichCue
on exitFrame me
-- Checks to see if the sound is still playing
if soundBusy(1) then
-- Checks to see if the cuepoint has been passed
if (isPastCuePoint(sound 1, whichCue)=1) then
go the frame + 1
else
go the frame
end if
else
-- If sound is done playing, go to next frame
go the frame + 1
end if
end
on getPropertyDescriptionList me
p_list = [:]
if the frameSound1 <> 0 then
whichSoundMember = member(the frameSound1).name
cueNames = member(whichSoundMember).cuePointNames
p_list.addProp(#whichCue, [#format:#string,#default:"",#range:cueNames,#comment:"Wait For Cue Point"])
return p_list
end if
end getPropertyDescriptionList
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA