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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make credits in the end???? [WHERE ..TO...PUT...][not solved]
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#10
RE: How to make credits in the end???? [NOT SOLVE again]

I also has question... (sorry)

void OnStart()
{
    SetEntityPlayerInteractCallback("TowerDoor", "TeleportFunction", true);
    AddEntityCollideCallback("Player", "ScriptArea_1", "StartCredits", true, 1);
}


void TeleportFunction(string &in asEntity)
{
ChangeMap("Custom", "PlayerStartArea_2", "", "");
}


void StartCredits(string &in asParent, string &in asChild, int alState)
{
    FadeOut(0.1f);
       AddTimer("credits", 2.0f, "TimerCredits");
}


void TimerCredits(string &in asTimer)
{
    StartCredits("credits.ogg", true, "Ending", "MyCredits", 0);
}
I put the music file in a music folder in the main folder of the custom story. The problem is, it won't play. can somebody tell me what's wrong?

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
05-02-2011, 09:53 PM
Find


Messages In This Thread
RE: How to make credits in the end???? [NOT SOLVE again] - by Karai16 - 05-02-2011, 09:53 PM



Users browsing this thread: 1 Guest(s)