I worked on Space Trash today.
I noted if the player skips the cutscene, sound effects still playing.
Is there a way to prevent sound effects playing if the cutscene is skipped?
Put this somewhere before EndCutscene();
if (Game.SkippingCutscene)
{
Game.StopAudio(eAudioTypeSound); // replace the audio type if needed
}
Alternatively, you may also check this property during cutscene to know if you should or should not start sounds:
if (!Game.SkippingCutscene)
{
aSound1.Play();
}
It works!
Thank you for the advice.