DrJones
07-23-11, 02:46 PM
Hey @ All
I think I found a way to play Sounds by scripting in Phyton in the SH5 Scripts:
This is a small example how to use it in the script
from System.Media import SoundPlayer
sp = SoundPlayer()
sp.SoundLocation = "C:\Ubisoft\Silent Hunter 5\data\Sound\Torpedo tube opening.wav"
sp.Play()
Best Regards
DrJones:salute:
I think I found a way to play Sounds by scripting in Phyton in the SH5 Scripts:
This is a small example how to use it in the script
from System.Media import SoundPlayer
sp = SoundPlayer()
sp.SoundLocation = "C:\Ubisoft\Silent Hunter 5\data\Sound\Torpedo tube opening.wav"
sp.Play()
Best Regards
DrJones:salute: