Advertisement
RusselCS

v5a Custom Boss Script

Jan 3rd, 2015
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. // This entire paste file is plug-and-go. Just copy everything below these comments
  2. // replace BOSSMUS and VICMUS with the song file names of your choice.
  3.  
  4. str BOSSSONG = "BOSSMUS";
  5. str VICSONG = "VICMUS";
  6. int bossMusic = 0;
  7.  
  8. script 25 DEATH
  9. {
  10. Delay(1);
  11. int musiccheck = ACS_ExecuteWithResult(972);
  12. if(bossmusic!=musiccheck)
  13. {
  14. bossmusic=musiccheck;
  15. if(bossmusic==1)
  16. {
  17. SetMusic(BOSSSONG);
  18. }
  19. if(bossmusic==2)
  20. {
  21. SetMusic(VICSONG);
  22. }
  23. }
  24. }
  25.  
  26. script 26 (int who) DISCONNECT
  27. {
  28. ACS_Execute(25, 0);
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement