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
Don't need to use the key on door?
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#3
RE: Don't need to use the key on door?

discarded bullshit I've written earlier

The CallbackFunc is used for something different entirely. It's immediately called once you interact wth the entity, so what happens is:

you pick up the key
KeyOnDoor is called, door unlocks
you are confused

The CallbackFunc of the door is just redundant now and will do nothing anymore, as for the AddUseItemCallback.
What ConnectedProp does is still new terrain to me either. Just delete everything what you've written in the callback and connectedporp boxes, your script is fine as is Big Grin


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
(This post was last modified: 01-26-2011, 06:38 PM by Frontcannon.)
01-26-2011, 06:35 PM
Find


Messages In This Thread
Don't need to use the key on door? - by CapnJimmy - 01-25-2011, 06:17 PM
RE: Don't need to use the key on door? - by Frontcannon - 01-26-2011, 06:35 PM



Users browsing this thread: 1 Guest(s)