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


Poll: Isnt this problem such a bitch!?
You do not have permission to vote in this poll.
YES IT'S SOO ANNOYING
100.00%
3 100.00%
nah, I don't make custom stories
0%
0 0%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia custom story .hps file problem HELP ASAP
Xeronaile Offline
Junior Member

Posts: 21
Threads: 2
Joined: Jan 2012
Reputation: 0
#7
RE: Amnesia custom story .hps file problem HELP ASAP

I'll show you my portion of my script file (Took some help for me as well) but it works for me.

Hps:


void OnStart()
{
AddUseItemCallback("", "cellar_key", "cellar_wood01_1", "KeyOnDoor", true);
AddEntityCollideCallback("Player", "AreaHelp", "CollideAreaHelp", false, 1);
}
void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("cellar_wood01_1", false, true);
PlaySoundAtEntity("", "unlock_door", "cellar_wood01_1", 0, false);
RemoveItem("cellar_key");
}
02-01-2012, 02:47 AM
Find


Messages In This Thread
RE: Amnesia custom story .hps file problem HELP ASAP - by Xeronaile - 02-01-2012, 02:47 AM



Users browsing this thread: 1 Guest(s)