Jump to content

PlaySound


hellis

Recommended Posts

Hello,

 

I'm trying to use the PlaySound3D command in a script, nested inside some if statements. While I do get the sound to play when it's supposed to, I can't stop it.

 

As far as I've figured, the game engine plays once all sounds (like 'DRSFootlockerEnclaveOpen' which I use in another part of the script) when called via PlaySound or PlaySound3D but loops continuously all sounds ending with LP, like the one that causes me trouble 'OBJForceFieldIdleLP' with no obvious way to stop them :wallbash:

 

Any help is appreciated :thanks:

Link to comment
Share on other sites

Hello,

 

I'm trying to use the PlaySound3D command in a script, nested inside some if statements. While I do get the sound to play when it's supposed to, I can't stop it.

 

As far as I've figured, the game engine plays once all sounds (like 'DRSFootlockerEnclaveOpen' which I use in another part of the script) when called via PlaySound or PlaySound3D but loops continuously all sounds ending with LP, like the one that causes me trouble 'OBJForceFieldIdleLP' with no obvious way to stop them :wallbash:

 

Any help is appreciated :thanks:

 

 

If i am not mistaken that LP means loop. don't take my word on it though.

Link to comment
Share on other sites

Hello Riven,

 

thanks for the reply

 

I think you're right, I believe that bethesta has set up their internal player to loop files ending with LP. If you play 'OBJForceFieldIdleLP' in vlc you can see that it's only 2 seconds long. (the file is in the original sound bsa, \Sound\fx\obj\forcefield).

 

Isn't there any way to stop looping sound files?

Link to comment
Share on other sites

Hello Riven,

 

thanks for the reply

 

I think you're right, I believe that bethesta has set up their internal player to loop files ending with LP. If you play 'OBJForceFieldIdleLP' in vlc you can see that it's only 2 seconds long. (the file is in the original sound bsa, \Sound\fx\obj\forcefield).

 

Isn't there any way to stop looping sound files?

 

 

You can use the sound to create a new one just when you add it in dont click on the loop and should be good :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...