Sonolus Wiki

PlayLoopedScheduled

Play a looping effect clip precisely at a scheduled start time in the future.

Arguments

ArgumentDescription
idClip identifier
startTimeStart time

Return

A unique identifier of the looping effect clip instance.

Remarks

PlayLoopedScheduled automatically accounts for audio offset to sync up with BGM timeline.

To ensure that the clip starts looping at the scheduled start time, it must be scheduled at least 0.5 seconds in advance.

Returned identifier can be used to control the effect clip instance using StopLoopedScheduled function.