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
Silly question
Fearlessagent Offline
Junior Member

Posts: 12
Threads: 2
Joined: Jul 2012
Reputation: 1
#3
RE: Silly question

Just make sure you place the callback in the .hps file associated with the map where the door you want to unlock is. If you are not sure how to unlock doors in the first place, check this page and look for the AddUseItemCallback function to be placed in the OnStart() portion of your code. Then just write a function which will unlock the door, remove the key from inventory, and play an unlock sound if you choose when it is called.
08-13-2012, 08:15 PM
Find


Messages In This Thread
Silly question - by Pandachoko - 08-13-2012, 07:01 PM
RE: Silly question - by Obliviator27 - 08-13-2012, 07:48 PM
RE: Silly question - by Fearlessagent - 08-13-2012, 08:15 PM



Users browsing this thread: 1 Guest(s)