FurtherGames
Member
Posts: 72
Threads: 23
Joined: Apr 2013
Reputation:
1
|
** 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 |
|