isladogs
MVP / VIP
- Local time
- Today, 13:04
- Joined
- Jan 14, 2017
- Messages
- 19,010
Just tested. The sound is less than 0.5 seconds.
This plays the sound once then shows the message
This plays the sound once then shows the message
Code:
...
'sound code starts here
strSound = CurrentProject.Path & "\Sounds\potion_gulp.wav"
PlayWaveFile
Sleep 500 'pause 0.5 seconds
StopWaveFile
'msg box to say you have used a potion
MsgBox "You Have Just Used Gained 25 Hit Points", , "Potion Used"
...