Text file without music, how?

kmilloz

Member
Hello, does anyone know how to make one entity text not let the music of the stage play? In the early phase the text appears without music and the music begins only after the text disappears, could someone tell me how to do? Thank you!

Olá, alguém sabe como fazer para uma entidade de text não deixar a musica da fase tocar? No inicio da fase aparece o texto sem musica e a musica só começa depois que o texto desaparece, alguém poderia me dizer como fazer? Obrigado!
 
Well, if you want to stop music, you can just make silent music file then have it played when the entity text is spawned

Then if you want music to be played later, just play it.

This is the script you need:

Code:
@script
    if(frame==0){ // first frame
      playmusic("data/music/silent.bor",1);
    }
    if(frame==2){ // last frame before text disappears
      playmusic("data/music/stage1.bor",1);
    }
@end_script
 
Bloodbane said:
Well, if you want to stop music, you can just make silent music file then have it played when the entity text is spawned

Then if you want music to be played later, just play it.

This is the script you need:

Code:
@script
    if(frame==0){ // first frame
      playmusic("data/music/silent.bor",1);
    }
    if(frame==2){ // last frame before text disappears
      playmusic("data/music/stage1.bor",1);
    }
@end_script

thanks man! this work! thanks! ;D ;D ;D
 
Back
Top Bottom