maxman
Well-known member
I copied one line from translation.txt with this line, but not the one "msgid" since I want to bother with the complete screen:
But when I added this in updated.c, it only reads the letter "I" in it.
How can I give a check to a numeric form in script when it comes to "Stage # Complete" every time next is used? So far, I only have this "i%", which only reads letter I.


msgid "Stage %i Complete!"
But when I added this in updated.c, it only reads the letter "I" in it.
C:
if(openborvariant("in_showcomplete")){
void mStyle = getglobalvar("musicStyle");
int font = 3;
float hRes = openborvariant("hresolution");
float vRes = openborvariant("vresolution");
if(mStyle == 0){font = 4;}
if(mStyle == 1){font = 6;}
if(mStyle == 2){font = 5;}
drawstring((hRes-strwidth("Stage %i Complete!", font))/2, 20, font, "Stage %i Complete!", 600000);
//CHECK THE CURRENT MUSIC TO PLAY IT ONCE
if(getglobalvar("musicPlaying") != "finish.bor"){
musicFinish();
}
}
How can I give a check to a numeric form in script when it comes to "Stage # Complete" every time next is used? So far, I only have this "i%", which only reads letter I.

