Gianluco Posted March 21 I'm making a powerup that, while active, changes the music. I want to make it so that, when the player dies, the music reverts to normal. This is what I've written so far: #library "fracam" #include "zcommon.acs" Script "fracam" (void) { setmusic("CAMGOT"); Delay(490); setmusic("*"); } 0 Quote Share this post Link to post
1 SuperGiantNinjaYeti Posted March 21 You could have another script in your library that activates upon death, so if you want it to revert the music it would be something like: Script "resetmus" DEATH { SetMusic("*"); } 0 Quote Share this post Link to post
Question
Gianluco
I'm making a powerup that, while active, changes the music. I want to make it so that, when the player dies, the music reverts to normal.
This is what I've written so far:
#library "fracam" #include "zcommon.acs" Script "fracam" (void) { setmusic("CAMGOT"); Delay(490); setmusic("*"); }
Share this post
Link to post
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.