Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to end custom story as a Demo?
Author Message
xtron Offline
Senior Member

Posts: 402
Joined: May 2011
Reputation: 2
Post: #26
RE: How to end custom story as a Demo?

void OnStart()
{
SetEntityPlayerInteractCallback("door1", "func_credits", false);
}

void func_credits(string &in asEntity)
{
StartCredits("01_Vicarious.ogg", false, "Ending", "MainCredits", 1);
}

how about that?

[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 07-14-2011 09:24 PM by xtron.)
07-14-2011 09:20 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to end custom story as a Demo? - xtron - 07-14-2011 09:20 PM



User(s) browsing this thread: 1 Guest(s)