Any way to do this? I have labirynth stage and normally its like this ,it has "next" after labir.txt so it goes back to map:
So it has NEXT afger you finish it, but in the stage theres item with timer, and if timer runs out then script runs which is :
So this script should immediately jump to branch "mapc" which is this :
As you see it doesnt have NEXT but it still shows "stage complete" screen when jumping to MAPC branch, how i can make it so it doesnt show "Stage complete" screen, i want to incorporate the feel of failure and stage complete isnt the best way to do it ;D
Any way to setup everything so "stage complete" wont show when timer runs out ?
Code:
branch labir
scene data/scenes/heman2.txt
z 80 1600
file data/levels/labir.txt
next
z 25 620
file data/levels/map.txt
scene data/scenes/hint2.txt
scene data/scenes/cred.txt
z 25 620
file data/levels/mapr.txt
end
Code:
@script
void self = getlocalvar("self");
if( frame == 1 ){
settextobj(1, 290 , 420 , 0, -1, "FIND YOUR WAY OUT BEFORE TIME RUNS OUT !" , openborvariant("elapsed_time")+2500);
}
if( frame == 3 ){
settextobj(1, 430 , 230 , 3, -1, "YOU FAILED !!!" , openborvariant("elapsed_time")+2500);
jumptobranch("mapc", 0);
}
if( frame == 4 ){
jumptobranch("mapc", 1);
}
@end_script
Code:
branch mapc
z 25 620
file data/levels/map.txt
scene data/scenes/hint2.txt
scene data/scenes/cred.txt
end
Any way to setup everything so "stage complete" wont show when timer runs out ?