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
Need help on the inventory texts and door texts!
TerrorsEnd Offline
Junior Member

Posts: 22
Threads: 4
Joined: Jun 2012
Reputation: 0
#9
RE: Need help on the inventory texts and door texts!

void OnEnter()
{
AddUseItemCallback("", "cellarkey", "level_cellar_1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("level_cellar_1", true);
PlaySoundAtEntity("", "unlock_door", "level_cellar_1", 1, false);
RemoveItem("cellarkey");
}

I have it like this and it doesn't work.
Also I got the notes working.
(This post was last modified: 06-27-2012, 12:49 AM by TerrorsEnd.)
06-27-2012, 12:29 AM
Website Find


Messages In This Thread
RE: Need help on the inventory texts and door texts! - by TerrorsEnd - 06-27-2012, 12:29 AM



Users browsing this thread: 1 Guest(s)