I try to add to npc some voices. Trouble comes with longer voice text.
The soundfiles overlap…. Is there a way to end a soundeffect or if one is started to end the old one?
Here as excample:
soundeffect "welcome.wav",0;
mes("Welcome to the Kafra Corporation. Kafra's Employees are always ready to serve you. How can I help you today?");
next();
switch(select("Storage:Bye")){
case 1:
mes("Blablabla?");
next;break;
case 2:
mes("See you later.");break;}
soundeffect "bye.wav",0;
close();}
Question
WhiteEagle
I try to add to npc some voices. Trouble comes with longer voice text.
The soundfiles overlap…. Is there a way to end a soundeffect or if one is started to end the old one?
Here as excample:
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.