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 & credits
Viperdream Offline
Member

Posts: 124
Threads: 16
Joined: Jan 2011
Reputation: 0
#2
RE: Ending & credits

StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);
Example:
StartCredits("Outro..ogg", true, "Misc", "Credits", 2);

You will also need to create a new category in the .lang file for this:
<CATEGORY Name="Misc">
<Entry Name="Credits">The most awesome person in the world made this map.</Entry>
</CATEGORY>

Use [br] to start a new line.

The game ends itself automatically after the credits

(This post was last modified: 03-22-2011, 08:49 PM by Viperdream.)
03-22-2011, 08:47 PM
Find


Messages In This Thread
Ending & credits - by larslu - 03-22-2011, 08:43 PM
RE: Ending & credits - by Viperdream - 03-22-2011, 08:47 PM
RE: Ending & credits - by larslu - 03-22-2011, 09:07 PM
RE: Ending & credits - by MrBigzy - 03-22-2011, 08:47 PM
RE: Ending & credits - by Tanshaydar - 03-22-2011, 09:14 PM
RE: Ending & credits - by larslu - 03-22-2011, 09:35 PM
RE: Ending & credits - by Viperdream - 03-22-2011, 09:17 PM
RE: Ending & credits - by Viperdream - 03-22-2011, 09:44 PM



Users browsing this thread: 5 Guest(s)