04-06-2011, 10:04 AM
Im trying to get my custom story to fade out before the credits roll, but i cant seem to get it working. Is this right?
All i want to do is fade out, but idk what to do.
PHP Code:
void EndGame(string &in asParent, string &in asChild, int alState)
{
FadeOut(0.0f);
FadeIn(4.0f);
PlayGuiSound("player_bodyfall.snt", 5.0f);
AddTimer("", 7.0f, "Win");
}
void Win(string &in asTimer)
{
StartCredits("player_darkness.snt", true, "Journal", "Over", 1);
}
All i want to do is fade out, but idk what to do.