So, i did a custom story Troll Story which had lots of bugs glitches and so on. I couldn't make the end credits work on that. So im trying to advance some more. Would anyone help me whats wrong with this script? it doesn't crash or anything, it just doesn't respond and start the credits.
void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_4", "credits", true, 1);
}
void credits(string& asMusic, bool abLoopMusic, string& as TextCat, string& asTextEntry, int alEndNum)
{
StartCredits("ending_credits_skillet.ogg", false, "Ending", "demoending", 9001);
}
please help