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
Ensure player has Justine?
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#3
RE: Ensure player has Justine?

What I do is put a Justine asset right in the first map, and then have the script try to detect it.

void OnStart()
{
if (GetEntityExists("violin_1"))
{
AddTimer("Intro", 0, "TimerIntro");
}
else
{
AddTimer("", 0, "NoJustine");
}
}

In the NoJustine timer I instantly end the game with custom credits that tell the player to get Justine.

01-21-2013, 08:01 AM
Find


Messages In This Thread
Ensure player has Justine? - by ElectricRed - 01-21-2013, 05:23 AM
RE: Ensure player has Justine? - by Damascus - 01-21-2013, 08:01 AM
RE: Ensure player has Justine? - by ElectricRed - 01-21-2013, 05:35 PM
RE: Ensure player has Justine? - by Daemian - 01-21-2013, 10:04 PM



Users browsing this thread: 1 Guest(s)