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
Script Help Moveable book unlocks a door?
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#3
RE: Moveable book unlocks a door?

Create a small script_area where you know it will only make contact with the book when it is pulled all the way out (this is the most difficult part; make sure to thoroughly test it in dev mode and use debug messages for this). From there, simply set up an entity collide callback, using the book as the parent, and the script area as the child.

Hope that helped!

I rate it 3 memes.
07-24-2012, 11:34 AM
Find


Messages In This Thread
Moveable book unlocks a door? - by oscar1007 - 07-24-2012, 11:31 AM
RE: Moveable book unlocks a door? - by Adny - 07-24-2012, 11:34 AM
RE: Moveable book unlocks a door? - by oscar1007 - 07-24-2012, 11:56 AM



Users browsing this thread: 1 Guest(s)