Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
** SOLVED ** Fatal Error when loading Custom Story?
Author Message
FurtherGames Offline
Member

Posts: 72
Joined: Apr 2013
Reputation: 1
Post: #1
Wink ** SOLVED ** Fatal Error when loading Custom Story?

Hello, I've started to create a custom story, I just did a key to unlock a door, but whenever I try to load the map this error comes up:

FATAL ERROR: Could not load script file 'custom_stories/Razors/maps/01.Motel.hps'!
main (3, 78) : ERR : Expected expression value



Here is my HPS File for that map;

void OnStart()
{
AddUseItemCallback("", "key_laboratory_1", "mansion_3", "FUNCTION", true,);
}

void OnEnter()
{

}

void OnLeave()
{

}

void FUNCTION(string &in item, string &in door)
{
SetLevelDoorLocked("mansion_3", false);
PlayGuiSound("unlock.door.snt", 100);
RemoveItem("key_laboratory_1");
}
(This post was last modified: 05-01-2013 12:17 PM by FurtherGames.)
04-30-2013 10:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.

Please answer:



User(s) browsing this thread: 1 Guest(s)