The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Do i fade in/out
Itskody Offline
Member

Posts: 100
Threads: 30
Joined: Mar 2011
Reputation: 1
#1
How Do i fade in/out

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?
PHP Code: (Select All)
void EndGame(string &in asParentstring &in asChildint 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.
04-06-2011, 10:04 AM
Find


Messages In This Thread
How Do i fade in/out - by Itskody - 04-06-2011, 10:04 AM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 10:10 AM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 10:13 AM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 10:24 AM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 11:23 AM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 11:46 AM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 12:04 PM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 12:10 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 12:21 PM
RE: How Do i fade in/out - by Russ Money - 04-06-2011, 12:23 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 12:26 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 02:33 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 02:37 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 03:13 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 04:00 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 04:07 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 04:18 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 04:27 PM
RE: How Do i fade in/out - by Itskody - 04-06-2011, 05:29 PM
RE: How Do i fade in/out - by MrBigzy - 04-06-2011, 09:46 PM



Users browsing this thread: 1 Guest(s)