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


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: #28
RE: How to end custom story as a Demo?

but, how about:
void OnStart()
{
SetEntityPlayerInteractCallback("door1", "func_credits", false);
}

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

[Image: 44917299.jpg]Dubstep <3
07-15-2011 12:20 AM
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-15-2011 12:20 AM



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