Need help with music change.

so i did exactly this: 

#include "zcommon.acs"

Script 1 (VOID)
{
SetMusic("MAP02MUS",0);
}

yet whenever the player crosses the script execute lines IT DOES NOT WORK.

what did i do wrong?

Share this post


Link to post

1) Make sure the line is set to when player crosses and has the right action

2) Make sure MAP02MUS is present in the WAD and has this exact lump name

Share this post


Link to post

yes it has the right ones, it just says missing music "MAP02MUSIC" even though i did change the script to diffrent names it says the same.....

should i rewrite the script again?

 

edit: yeah that did the job. thanks for the help anyways

Edited by Sirekoquonfaes

Posted (edited)

Share this post


Link to post
12 hours ago, Sirekoquonfaes said:

SetMusic("MAP02MUS",0);

Try it without the " ,0". Like this "SetMusic("MAP02MUS");

 

Use Slade to determine that the music file is in your wad.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now