Hello everybody
I have music playing in my game menu (in my scene_init.script i have this code :
if(!Game.IsMusicPlaying()) Game.PlayMusic("music\fear archive.ogg");
var WinMenu = Game.LoadWindow("interface\system\firstmenu.window");
WinMenu.GoExclusive();
i would like when i clic on the start button of my menu, stopping music in fade out while the new scene is loading
this a part of code in my firstmenu.script:
on "start"
{
Game.ChangeScene("scenes\Bureau_police\Bureau_police.scene");
Game.UnloadObject(this);
}
actor.Active = true;
i found a fade music topic but the command doesnt work with my script, so someone can help me ?
Thank you very much