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
.HPS fatal error
Mr.Roflman Offline
Junior Member

Posts: 6
Threads: 1
Joined: Apr 2011
Reputation: 0
#1
.HPS fatal error

Can anyone help fix this fatal error:
FATAL ERROR: Could not load script file
'custom_stories/Unknown_Awaking/custom_stories/Unknown_Awaking/maps/00_Unknwn.hps
main (29,2) : ERR: Unexpected end of file
Heres my HPS
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "bedroomkey_1", "mansion_1", "KeyOnDoor", true);
AddUseItemCallback("", "basementkey_1", "Cellar_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_1, false, true);
playerSoundAtEntity("", "unlock_door", "mansion_1", 0, false);
RemoveItem("bedroomkey_1)
SetSwingDoorLocked("cellar_1", false, true);
PlaySoundAtEntity("", "unlock_door", "cellar_1", 0, false);
RemoveItem("basementkey_1");
)
////////////////////////////
// Run when entering map
void OnEnter()
{

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

}
04-24-2011, 09:37 AM
Find


Messages In This Thread
.HPS fatal error - by Mr.Roflman - 04-24-2011, 09:37 AM
RE: .HPS fatal error - by Lexander.R - 04-24-2011, 09:40 AM
RE: .HPS fatal error - by Mr.Roflman - 04-24-2011, 09:44 AM
RE: .HPS fatal error - by Poppuhik42 - 04-24-2011, 10:17 AM
RE: .HPS fatal error - by Mr.Roflman - 04-24-2011, 10:18 AM
RE: .HPS fatal error - by laser50 - 04-24-2011, 10:21 AM
RE: .HPS fatal error - by Mr.Roflman - 04-24-2011, 10:23 AM
RE: .HPS fatal error - by Poppuhik42 - 04-24-2011, 10:30 AM
RE: .HPS fatal error - by Mr.Roflman - 04-24-2011, 10:32 AM
RE: .HPS fatal error - by Dalroc - 04-24-2011, 11:44 AM
RE: .HPS fatal error - by Mr.Roflman - 04-25-2011, 04:02 AM



Users browsing this thread: 1 Guest(s)