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
Help! Keys
Victor Offline
Member

Posts: 83
Threads: 19
Joined: Oct 2011
Reputation: 2
#1
Sad  Help! Keys

I think I'm cursed... I've done EVERYTHING the guy in this tutorial did: http://www.youtube.com/watch?v=T4k5ILstUxc
But I can't make the fridgin' key work in the fudgin' door! Look at the .hps script:

////////////////////////////
// Run first time starting map
void onStart()
{
AddUseItemCallback("", "key", "door", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door", false, true);
PlaySoundAtEntity("", "unlock_door", "door", 0, false);
RemoveItem("key");
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

Did you find anything? Please help! This is my 483764327846823th try on this, and the key doesn't appear to like the door.
(This post was last modified: 01-08-2013, 04:21 PM by Victor.)
10-22-2011, 08:51 PM
Find


Messages In This Thread
Help! Keys - by Victor - 10-22-2011, 08:51 PM
RE: Help! Keys - by JenniferOrange - 10-22-2011, 08:58 PM
RE: Help! Keys - by Victor - 10-22-2011, 09:10 PM
RE: Help! Keys - by Statyk - 10-22-2011, 09:56 PM
RE: Help! Keys - by Brute - 10-22-2011, 09:59 PM
RE: Help! Keys - by Victor - 10-22-2011, 10:12 PM
RE: Help! Keys - by JenniferOrange - 10-23-2011, 02:17 AM
RE: Help! Keys - by palistov - 10-23-2011, 02:46 AM
RE: Help! Keys - by Victor - 10-23-2011, 03:18 AM
RE: Help! Keys - by Victor - 10-23-2011, 04:34 PM



Users browsing this thread: 1 Guest(s)