Jump to content
Sign in to follow this  
LOzan

Mission Accomplished Music When Using BIS_fnc_endMission

Recommended Posts

Hey everybody, back with another noob question I would love some help with.

For my mission endings, I'm using BIS_fnc_endMission to make the mission complete effect appear. However, I have no idea how to make the music that accompanies it during the campaign and other missions and in the campaign. I would imagine it involves using the playMusic command, but I might be wrong. If it is playMusic, then I have no clue what the classname for that music is. I've been through CfgMusic and there wasn't anything that looked like "Mission Accomplished". Can anybody give me a few pointers here? Thanks!

Share this post


Link to post
Share on other sites

The Functions Viewer shows how it's done:

BIS_fnc_Endmission snippet

if (_playmusic) then {
		_musicvolume = musicvolume;
		0.2 fademusic 0;
		sleep 0.2;
		_musicList = if (isnull curatorcamera) then {["EventTrack02_F_Curator","EventTrack01_F_Curator"]} else {["EventTrack02_F_Curator","EventTrack03_F_Curator"]};
		playmusic (_musicList select _win);
		0 fademusic _musicvolume;
		sleep 0.4;
	};

EventTrack01_F_Curator

EventTrack02_F_Curator

EventTrack03_F_Curator

Should be one of those.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×