Cue names for EventInstance::getCue()


I’m using sustain points in an event. I can use EventInstance::getCueByIndex(0,&mycue) to get the first cue and this seems to be able to trigger the progress of the event passed the sustain point. But where are the names for cues specified? In FMOD Studio the name of the the cue is “A” but passing “A” as the cue name returns error 40 (“An invalid parameter was passed to this function”).


I asked support this directly in email and the answer was that there is currently only one cue and it is called KeyOff. Try passing “KeyOFF” and it should work.

Thanks! I need to explain this to students so I’ll avoid this undocumented aspect just now! And just use cue by index at 0.