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
Using a lever to get to the next level (Crashing) Amnesia
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#8
RE: Using a lever to get to the next level (Crashing) Amnesia

(04-03-2013, 01:29 PM)Arklancer Wrote: Hello Everyone.
I'm having an issue again with the game crashing when I pull a lever to go to the next level.

This is the part in the hps file.
void OnStart()
{
SetEntityConnectionStateChangeCallback("Lever3", "Lever3");
}

void Lever3(string &in asEntity, int alState)
{
if (alState ==-1) //up
{
FadeIn(1);
SetPlayerActive(false);
ChangeMap("Maps/Excavation_02.map", "PlayerStartArea_1", "","");
}
}

void OnEnter()
{
}

void OnLeave()
{
//////////////////////
//Load Screen Setup
SetupLoadScreen("LoadingText", "Ch01_Beginning", 5, "game_loading_rose.jpg");
}

This is the crash message, I have no idea what any of it even means inside the box. >.> - (See Attached)


I'm trying to finish the first chapter to TBH The Bro Heresy and I want to get it out this weekend at the latest.

Can somebody help me with this? >.<

void OnStart()
{
SetEntityConnectionStateChangeCallback("Lever3", "Lever3");
}

void Lever3(string &in asEntity, int alState)
{
if (alState ==-1) //up
{
FadeIn(1);
SetPlayerActive(false);
ChangeMap("Excavation_02.map", "PlayerStartArea_1", "","");
}
}

void OnEnter()
{
}

void OnLeave()
{
//////////////////////
//Load Screen Setup
SetupLoadScreen("LoadingText", "Ch01_Beginning", 5, "game_loading_rose.jpg");
}

That should be fine. Give us the script from your other map "Excavation_02.map"

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
04-04-2013, 02:01 PM
Find


Messages In This Thread
RE: Using a lever to get to the next level (Crashing) Amnesia - by The chaser - 04-04-2013, 02:01 PM



Users browsing this thread: 5 Guest(s)