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
Amnesia crashes when loading map
Nanatsumi Offline
Member

Posts: 81
Threads: 29
Joined: Dec 2014
Reputation: 0
#1
Amnesia crashes when loading map

My FC mod crashes when i load a map, i figured out that problem with HPS, but whats wrong with it?

void OnStart()
{

PlaySoundAtEntity("", "00_00_elevatormusic.snt", "Elevator_music_looping_1", 0.5f, true);
PlaySoundAtEntity("", "elevator_loop.snt", "Elevator_looping_1", 0.5f, true);
AddTimer("", 15, "elevator_stops_scene");
AddTimer("", 13, "elevator_fadeout");
AddEntityCollideCallback("Player", "Light_1_Scene", "Lights_Begin", true, 1);

}

void light_two(string &in asTimer)
{

SetEntityActive("tesla_lamp_ball_Raleigh_1", true);
PlaySoundAtEntity("", "00_intro_machine_lamp_lit.snt", "Player", 0.0f, false);


}

void Lights_Begin(string &in asParent, string &in asChild, int alState)
{

SetEntityActive("tesla_lamp_ball_Raleigh_2", true);
AddTimer("", 4, "light_two");
PlaySoundAtEntity("", "00_intro_machine_lamp_lit.snt", "Player", 0.0f, false);
PlayMusic("01_EricOffice.ogg", false, 1.0f, 0.0f, 10, false);

}

void elevator_fadeout(string &in asTimer)
{

FadeOut(1.0f);

}

void elevator_stops_scene(string &in asTimer)
{

PlaySoundAtEntity("", "elevator_stop.snt", "Player", 0.0f, false);
FadeIn(1.0f);
TeleportPlayer("PlayerStartArea_2");

}


void OnEnter()
{

SetSanityDrainDisabled(true);

}


void OnLeave()
{

}
11-20-2015, 07:54 PM
Find


Messages In This Thread
Amnesia crashes when loading map - by Nanatsumi - 11-20-2015, 07:54 PM
RE: Amnesia crashes when loading map - by Mudbill - 11-21-2015, 03:05 PM
RE: Amnesia crashes when loading map - by Neelke - 11-29-2015, 10:26 PM



Users browsing this thread: 1 Guest(s)