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
#8
RE: Ending & credits

Put this at: void OnStart()
AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);
Example:
AddEntityCollideCallback("Player", "CreditsArea", "Collide_Credits", true, 1);

Then: (anywhere, just don't put it inside any {})
void Collide_Credits(string &in asParent, string &in asChild, int alState)        
{
StartCredits("Outro..ogg", true, "Misc", "Credits", 2);
}

You can learn all of this stuff on the wiki and with the search button though

(This post was last modified: 03-22-2011, 09:45 PM by Viperdream.)
03-22-2011, 09:44 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: 1 Guest(s)