Hypn0sef Posted January 30, 2021 Author Share Posted January 30, 2021 *Italian finger kiss* works perfectly, thanks so much. Once again, Dylbill to the rescue. I'm gonna give you a co-author credit cause this mod is like 75% the script Link to comment Share on other sites More sharing options...
Hypn0sef Posted January 30, 2021 Author Share Posted January 30, 2021 *Italian finger kiss* works perfectly, thanks so much. Once again, Dylbill to the rescue. I'm gonna give you a co-author credit cause this mod is like 75% the script Link to comment Share on other sites More sharing options...
dylbill Posted January 30, 2021 Share Posted January 30, 2021 Lol thanks but giving me credit isn't really necessary, It's an open forum and I'm happy to help :) Glad it's working! Link to comment Share on other sites More sharing options...
Hypn0sef Posted January 30, 2021 Author Share Posted January 30, 2021 (edited) *Oops reposted my comment a 3rd time lol, forum is acting weird* Edited January 30, 2021 by Hypn0sef Link to comment Share on other sites More sharing options...
NexusComa2 Posted January 30, 2021 Share Posted January 30, 2021 (edited) 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 January 30, 2021 by NexusComa2 Link to comment Share on other sites More sharing options...
Recommended Posts