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
Game freezes
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#1
Game freezes

Hi guys

I've added a few things to my .hps and .lang file and suddenly my game starts freezing when i enter the map

Things i added to my .hps file
void OnStart()
{
AddUseItemCallback("", "ChestKey", "block_box_1", "UsedKeyOnChest", true);

}


void UsedKeyOnChest(string &in asItem, string &in asEntity)
{
SetEntityActive("block_box_1", false);
PlaySoundAtEntity("", "unlock_door", "treasure_chest_1", 0, false);
RemoveItem("ChestKey");
}


Things i've added to my .lang file



Last Words
I overheard two guards talking about, that i knew to much.[br]I now fear for my life, so before they get me, i writing down, what it might be that i knew to much about, in another note, that is hidding in the chest right over there
Secret Information
To get out of this dungeon, you most enter the guards office, which contains a lever puzzle to unlock the door to the castle cellar[br][br]To enter the guards office, you'll need a sledge and then knock downa weak wall, in the prinson cell right beside the office



PS. i've already checked for cached files

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 08-10-2012, 12:47 PM by Lizard.)
08-09-2012, 01:00 PM
Find


Messages In This Thread
Game freezes - by Lizard - 08-09-2012, 01:00 PM
RE: Game freezes - by Your Computer - 08-09-2012, 04:42 PM
RE: Game freezes - by Lizard - 08-09-2012, 06:39 PM
RE: Game freezes - by Adny - 08-09-2012, 06:53 PM
RE: Game freezes - by Lizard - 08-09-2012, 07:04 PM



Users browsing this thread: 1 Guest(s)