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, Need help NOW!
JohnS0N Offline
Junior Member

Posts: 3
Threads: 3
Joined: Sep 2015
Reputation: 0
#1
Exclamation  Unexpected end of file problem, Need help NOW!

Without further ado, Here's the .hps file:

void OnStart()
{
AddUseItemCallback("", "Doorkey1", "Roomdoor1", "UsedKeyOnDoor" true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Roomdoor1", false, true);
PlaySoundAtEntity("", ""unlock_door", "Roomdoor1", 0, false);
RemoveItem("Doorkey1");
}

void OnEnter()
{
PlayMusic("Level1Theme.ogg", true, 0.8, 2, 1, true);
}

void OnExit()
{

}
09-18-2015, 12:08 PM
Find


Messages In This Thread
Unexpected end of file problem, Need help NOW! - by JohnS0N - 09-18-2015, 12:08 PM



Users browsing this thread: 1 Guest(s)