The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Arklancer Offline
Junior Member

Posts: 10
Threads: 4
Joined: Feb 2013
Reputation: 0
#1
Question  Using a lever to get to the next level (Crashing) Amnesia

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? >.<


Attached Files
.jpg   Issue1.JPG (Size: 57.78 KB / Downloads: 142)
(This post was last modified: 04-03-2013, 01:36 PM by Arklancer.)
04-03-2013, 01:29 PM
Find


Messages In This Thread
Using a lever to get to the next level (Crashing) Amnesia - by Arklancer - 04-03-2013, 01:29 PM



Users browsing this thread: 5 Guest(s)