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
Key to open door on seperate level
drunkmonk Offline
Member

Posts: 109
Threads: 7
Joined: Jun 2012
Reputation: 4
#3
RE: Key to open door on seperate level

ok so should it look something like this?
void OnStart()
{
AddUseItemCallback("", "Key_Upper_Levels", "Upper_Levels", "UsedKey", true);
}
void UsedKey(string &in item, string &in door)
{
SetLevelDoorLocked("Upper_Levels", false, true);
PlaySoundAtEntity("", "unlock_door", "Upper_Levels", 0,false);
RemoveItem("Key_Upper_Levels");
GiveSanityBoostSmall();
{
06-30-2012, 02:57 AM
Find


Messages In This Thread
Key to open door on seperate level - by drunkmonk - 06-30-2012, 01:59 AM
RE: Key to open door on seperate level - by drunkmonk - 06-30-2012, 02:57 AM



Users browsing this thread: 1 Guest(s)