Jump to content

[LE] Music Box Script Help


Hypn0sef

Recommended Posts

I was admiring your coding style then realized its one of mine. :laugh: One of the scripts from the Enchanted Ship in a Bottle creator scripts download. Glad you're putting them to good use. In that player the way I toggled the music off was to send that _NONE.Add() track to be played. It is actually a very short track of silence. Once ended the music should go back to the game default. There is also a NONE selection you can pick as the track itself. The _MusicTrack.Remove() was just good house keeping after that. Because the player plays two custom track lists. So there are added routines to cover that and possible errors from that. Not sure if that is coming into play here as each player is pretty generic independently. One other thing is how the track is set up in the Creation Kit is huge. Actually forget all of it right now but I do remember there was a few different ways I could have set it up with advantages and disadvantages either way. There is a real track list and a fake preset track list that pulls from the music folder via known names. But, how the songs and lists are set up in the Creation Kit greatly affects how they can be used. Understanding them options would be a good thing to know when creating any type of music player. I think I must have done 1000 tests checking out the options. In this case I think it would have been sending the _NONE.Add() track as the way to stop the music. Its the for sure it works work around. Just make sure you included the blank track of silence. You can find that in the Enchanted Ship in a Bottle mod or make one. 2-3 seconds of recorded silence.

Edited by NexusComa2
Link to comment
Share on other sites

  • Recently Browsing   0 members

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