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
Custom story ending help
KikoKuruma Offline
Junior Member

Posts: 23
Threads: 5
Joined: Jun 2011
Reputation: 0
#2
RE: Custom story ending help

First you have to set up the script area you want
Then you have to create the callback
then you just use the start credits function

Example:
{
AddEntityCollideCallback("Player", "End_Area", "Endgame", True, 1);
}

Endgame(string &in asParent, string &in asChild, int alState)
{
StartCredits("music file here", true, "text category in .lang file", "Entry in langfile", int alEndNum)
}
thats what the script should look like, but you have to set up the lang file in a certain way.
asTextCat - the category to be used in the .lang file (must be “Ending”)
asTextEntry - the entry in the .lang file (must be “MainCredits”)
06-26-2011, 09:37 PM
Find


Messages In This Thread
Custom story ending help - by TheDavenia - 06-26-2011, 09:22 PM
RE: Custom story ending help - by KikoKuruma - 06-26-2011, 09:37 PM
RE: Custom story ending help - by TheDavenia - 06-26-2011, 09:45 PM
RE: Custom story ending help - by KikoKuruma - 06-26-2011, 10:26 PM
RE: Custom story ending help - by TheDavenia - 06-26-2011, 11:03 PM



Users browsing this thread: 2 Guest(s)