0 Members and 1 Guest are viewing this topic.
map mapcode "map name"{ next = "MM1GUT" sky1 = "CUTSKY", 0 music = "music lump name" aircontrol = 0.5}
#include "zcommon.acs" // Only include this line if it is not already present in the file.str BOSSSONG = "boss song";str VICSONG = "victory song";int bossMusic = 0;script 25 DEATH{Delay(1);int musiccheck = ACS_ExecuteWithResult(972);if(bossmusic!=musiccheck) { bossmusic=musiccheck; if(bossmusic==1) { SetMusic(BOSSSONG); } if(bossmusic==2) { SetMusic(VICSONG); } }}script 26 (int who) DISCONNECT{ACS_Execute(25, 0);}