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.)
|