Hi. I am writing scripts for Music Fade In and Fade Out (only crossfade is supported in WME).
So (for fadeout), i decrease volume and then have Sleep(x);
However sleep suspends script, and i want that Music Fade doesn't effect the rest of the code.
For example. The first thing when you enter one scene is that someone says something. But in the meentime music should fadein.
if I write:
Character.Talk("Something");
PlayFadeInMusic(...);
it will start to play after the character finnished talking. and here
PlayFadeInMusic(...);
Character.Talk("Something");
he will start talking after the fade in.
Is there a way to avoid this? To, like... start PlayFadeInMusic in seperate thread.
Thanx.
BTW.... i'm getting more and more used to working in WME... i must say you have done a great job. Keep up the good work.
____________________
HeSh.... (
)