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
Ending A custom story
XeOnTricks Offline
Junior Member

Posts: 27
Threads: 12
Joined: Feb 2017
Reputation: 0
#7
RE: Ending A custom story

(04-07-2017, 04:12 PM)Mudbill Wrote: The StartCredits script is supposed to be this:

PHP Code: (Select All)
void StartCredits(stringasMusicbool abLoopMusicstringasTextCatstringasTextEntryint alEndNum); 

You've forgotten the second argument, the bool. That's why it can't find the "signature" for the script and crashes.

Try:

PHP Code: (Select All)
StartCredits("ending_alexander.ogg"true"Messages""EndDemo"1); 

void OnEnter()
{



}




void OnLeave()
{

StartCredits("ending_alexander.ogg", true, "Messages", "EndDemo", 1);

}



i did what you told me but now i'm getting another error. when i exit the map it says it cannot load the other map but i never made one either, sorry, i'm pretty bad at explaining this but all i wanted it to do was open the credit screen and then do it's thing saying it's only a demo.
04-07-2017, 11:03 PM
Find


Messages In This Thread
Ending A custom story - by XeOnTricks - 04-06-2017, 03:16 AM
RE: Ending A custom story - by Romulator - 04-06-2017, 12:23 PM
RE: Ending A custom story - by XeOnTricks - 04-06-2017, 07:25 PM
RE: Ending A custom story - by Mudbill - 04-06-2017, 09:19 PM
RE: Ending A custom story - by XeOnTricks - 04-07-2017, 11:44 AM
RE: Ending A custom story - by Mudbill - 04-07-2017, 04:12 PM
RE: Ending A custom story - by XeOnTricks - 04-07-2017, 11:03 PM
RE: Ending A custom story - by Mudbill - 04-08-2017, 04:20 AM
RE: Ending A custom story - by XeOnTricks - 04-08-2017, 06:31 PM
RE: Ending A custom story - by Mudbill - 04-09-2017, 11:09 PM



Users browsing this thread: 2 Guest(s)