Start, Stop, and Change Songs in Script

To start, stop, or change the current song in script, add a reference to the instance of NSLSongManager in the scene:

NSLSongManager songManager;

To start a song:

songManager.PlaySong(int Song Number);

To stop the currently playing song:

songManager.StopSong();

To play a different song:

songManager.LoadNewSong(int Song Number);

 

Leave a Reply

Your email address will not be published. Required fields are marked *

AlphaOmega Captcha Classica  –  Enter Security Code