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
Level Door error!
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#1
Shocked  Level Door error!

I made the level door teleport me to another map, but whenever I click on the level door and loads the map it just gets me this error
and it's not the level door that does this error, even when i spawn in the map that the level door takes me too

"FATAL ERROR: Could not load script file 'custom stories/Lifeless_The Abandon/maps/C:/Program Files/Amnesia - Thew Dark Descent/ redist/ custom stories/Lifeless_ The Abandon/maps/ Lieless_The Abandon3.hps'! ExecuteString (1, 1):ERR :No matching signatures to 'onLeave()' main (1,2) :ERR :Expected identifier"

and here is the hps of the level door is supposed to teleport me to

voidOnStart()

{AddUseItemCallback("OpenDoor", "key_tomb_1", "level_celler_1", "UnlockLevelDoor",true);

}

voidOnEnter()
{

}


void UnlockLevelDoor(string &in item, &in entity)
{
SetLevelDoorLocked(Entity, false);
//RemoveItem(item);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
(This post was last modified: 01-05-2014, 09:38 AM by Radical Batz.)
01-04-2014, 12:11 PM
Find


Messages In This Thread
Level Door error! - by Radical Batz - 01-04-2014, 12:11 PM
RE: Level Door error! - by Radical Batz - 01-04-2014, 05:37 PM
RE: Level Door error! - by RaideX - 01-05-2014, 01:40 AM
RE: Level Door error! - by Romulator - 01-05-2014, 02:07 AM
RE: Level Door error! - by daortir - 01-05-2014, 02:10 AM
RE: Level Door error! - by Romulator - 01-05-2014, 02:31 AM
RE: Level Door error! - by Radical Batz - 01-05-2014, 09:38 AM



Users browsing this thread: 2 Guest(s)