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
.Lang File Help Having some credits problems, please help?
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#3
RE: Having some credits problems, please help?

Make sure that your Category and Entry names in your .lang is "Ending" and "MainCredits" (the same as in your script). I would also try changing the name of your function StartCredits.


void Final(string &in asParent, string &in asChild, int alState)
{
SetPlayerSanity(0);
PlayGuiSound("SNITBC.snt", 50);
SetEntityActive("servant_brute (custom)_1", false);
    FadeOut(2);
    AddTimer ("", 4.5f, "BeginCredits");    // changed to "BeginCredits"
}

void BeginCredits(string &in asTimer)      // changed to "BeginCredits"
{
    StartCredits("EndCredits.ogg", false, "Ending", "MainCredits", 4);
}

In Ruins [WIP]
(This post was last modified: 12-22-2012, 11:20 PM by NaxEla.)
12-22-2012, 11:20 PM
Find


Messages In This Thread
RE: Having some credits problems, please help? - by NaxEla - 12-22-2012, 11:20 PM



Users browsing this thread: 1 Guest(s)