Jump to content

Help - scripting question


NunchuckMonkey

Recommended Posts

I'm just getting the hang of scripting and I ran into a problem. If somebody can help me out that would be awesome. I have an activator with a script that goes like this:

 

begin OnActivate

playsound SoundID

end

 

But I need to be able to make the music stop when I want to. Is there a command for that?

Link to comment
Share on other sites

I'm just getting the hang of scripting and I ran into a problem. If somebody can help me out that would be awesome. I have an activator with a script that goes like this:

 

begin OnActivate

playsound SoundID

end

 

But I need to be able to make the music stop when I want to. Is there a command for that?

 

Most sounds have a set duration that will be played so they should stop on their own, depending on which sound you used.

 

I was looking for something like this recently and the only answer I found was on the CS Wiki that says OBSE may have that function. I'm not familiar with OBSE scripting though.

 

I found the sounds with AMB as their prefix have this problem. Ones like chimes and dungeon sounds etc.

 

You might get some info from this page but it doesn't mention looping sounds:

http://cs.elderscrolls.com/constwiki/index.php/Sound

Link to comment
Share on other sites

  • Recently Browsing   0 members

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