I want to make it so that when the player enters a certain area it would trigger the ending credits.
I have already looked on the wiki and it has
void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum)
I wanted to add a callback so that when the player collides with the area it would trigger the credits but the script doesn't seem to have a function input so i think I'm misusing the script.
Is there any other way to do it so that when the player collides with the area it would trigger the credits?
(I'm a HUGE newbie with scripting.

)