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
How to end custom story as a Demo?
Zypherzemus Offline
Member

Posts: 94
Threads: 7
Joined: Jul 2011
Reputation: 0
#27
RE: How to end custom story as a Demo?

(07-14-2011, 09:20 PM)xtron Wrote:
void OnStart()
{
SetEntityPlayerInteractCallback("door1", "func_credits", false);
}

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

how about that?
That would work but, I don't want the demo to end before the door is unlocked.
Ex: You're exploring the area and come across the locked level door, you try to open it, it's locked, then the credits start playing.
(Thats not what I want to happen)
Using that command would trigger it.
07-14-2011, 09:33 PM
Find


Messages In This Thread
RE: How to end custom story as a Demo? - by xtron - 07-14-2011, 03:11 AM
RE: How to end custom story as a Demo? - by xtron - 07-14-2011, 12:30 PM
RE: How to end custom story as a Demo? - by xtron - 07-14-2011, 05:54 PM
RE: How to end custom story as a Demo? - by xtron - 07-14-2011, 07:38 PM
RE: How to end custom story as a Demo? - by xtron - 07-14-2011, 09:20 PM
RE: How to end custom story as a Demo? - by Zypherzemus - 07-14-2011, 09:33 PM
RE: How to end custom story as a Demo? - by xtron - 07-15-2011, 12:20 AM
RE: How to end custom story as a Demo? - by xtron - 07-15-2011, 01:00 AM
RE: How to end custom story as a Demo? - by xtron - 07-16-2011, 10:20 PM



Users browsing this thread: 1 Guest(s)