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


Thread Closed 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unexpected end of file problem, Need help NOW!
Author Message
JohnS0N Offline
Junior Member

Posts: 3
Joined: Sep 2015
Reputation: 0
Post: #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 all posts by this user
Thread Closed 


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



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