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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Game freezes

Does removing that script fix anything? I doubt something like that can freeze the game.

Tutorials: From Noob to Pro
08-09-2012, 04:42 PM
Website Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#3
Photo  RE: Game freezes

(08-09-2012, 04:42 PM)Your Computer Wrote: Does removing that script fix anything? I doubt something like that can freeze the game.
I've tryed to remove the script, it's still freezing, can it be something that i added in the editor?

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 08-09-2012, 06:39 PM by Lizard.)
08-09-2012, 06:39 PM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#4
RE: Game freezes

Try removing the rag doll corpse, it's one of the buggiest entities I've seen.

I rate it 3 memes.
08-09-2012, 06:53 PM
Find
Lizard Offline
Member

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

(08-09-2012, 06:53 PM)andyrockin123 Wrote: Try removing the rag doll corpse, it's one of the buggiest entities I've seen.
Did not work Sad

CURRENT PROJECT:
A Fathers Secret == Just started
08-09-2012, 07:04 PM
Find




Users browsing this thread: 1 Guest(s)