Trying to code a table and I have tried to get music tracks to stop upon a drained ball so the audio for the post-turn bonus can be heard. I just can't figure out the coding.
This is utilizing PUP, so I have the following code:
if HasPup Then
PuPlayer.playlistplayex pVids,"DMDSplash","videoname.mp4",videovolume,1
PuPlayer.playlistplayex pMusic,"topper","songname.mp3",videovolume,1
That code works perfectly and activates the quick clip and music track -- but when you drain, the music track keeps playing and won't stop and will keep playing if another music track starts.
There is an EndMode sub programmed but I can't find the code necessary to stop the music and there doesn't appear to be code in Ball Drain sub either.
I've tried to code certain things myself but I'm clueless as hell and nothing works.
Can anyone help me out?
Edited by tabascoman77, 21 November 2021 - 01:02 PM.



Top








are all trademarks of VPFORUMS.