Ok, when i use the script it loads my second scene immediately and just skips my first one... What am I doing wrong with the script? I want it to load scene2 when the song in scene1 is complete. Where do i put this script->
// Loads the level with index 0
Application.LoadLevel (2);
In this script-> to make it load scene2 when song is completed?
var changeLevelFlag : boolean;
function Update(){
if(!audio.isPlaying && changeLevelFlag){
// do something when the audio isn't playing
// like change scenes after a tune
}
}
Thanks Again.