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
Unexpected end of file [PROBLEM]
GillFrog Offline
Junior Member

Posts: 26
Threads: 7
Joined: Mar 2011
Reputation: 1
#1
Sad  Unexpected end of file [PROBLEM]

Okay. So i made a test map with the level editor.
And when i try to load it, an error pop up and says:
FATAL ERROR: Could not load script file 'custom_stories/test/maps/testmap01.hps'!
Main (12,1) :ERR :Unexpected end of file

I don't know what to do.
Heres my .hps file:


Quote:void OnEnter()
{
AddUseItemCallback("", "keytodesk", "desk", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity}
{
SetSwingDoorLocked("desk", false, true);
PlaySoundAtEntity("", "unlock_door", "desk", 0, false);
RemoveItem("keytodesk");
}
(This post was last modified: 12-02-2011, 06:35 PM by GillFrog.)
12-01-2011, 11:09 PM
Website Find


Messages In This Thread
Unexpected end of file [PROBLEM] - by GillFrog - 12-01-2011, 11:09 PM
RE: Unexpected end of file [PROBLEM] - by Apjjm - 12-01-2011, 11:49 PM



Users browsing this thread: 1 Guest(s)