Play only one audio at a time

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
stanfordhealthcare
Posts: 8
Joined: Wed Jun 05, 2019 1:21 pm

Hi all, I've developed a project that has multiple hotspots. Clicking each will play an associated audio, specified using action "play media" in the skin hotspot template. But they can play over each other. To avoid this, I added a bunch of actions to each one which "stop media" for every other audio file on the skin. This is tedious when I have an audio update, going through to sub all the other "stop" actions.
Is there a method to specify either that only one audio can play at a time, or to "stop all" audio before playing a new one?
Thanks!
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
Try Stop Media, Target: _main.
This should stop all media in one action.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
stanfordhealthcare
Posts: 8
Joined: Wed Jun 05, 2019 1:21 pm

Awesome! Thanks so much!
Post Reply