Jump to content
  • 0

A unique script that uses bgm


cmsm94

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

Heyy,

Can someone make a script that onces a player dies on a certain map, a certain music will be played through in his BGM folder and when that music ends it will resume back to its original music.

 

Same one with Ress when he/she become alive a certain BGM will play for awile then resume back to its original track

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

bump no ones knows how to do this? or its not possible or is to hard O.o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


- script BGM -1,{

OnPCDieEvent:

if(strcharinfo(3) == "map_name") playBGM "<BGM filename>";

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

-	script	BGM	-1,{

OnPCDieEvent:
	if(strcharinfo(3) == "map_name") playBGM "<BGM filename>";
	end;

}

Can possible also when the BGM finish it will resume back to its original track?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Have you tested it? I don't have a running server, i'm at work. Sorry.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...