nivramm
Junior Member
Posts: 18
Threads: 1
Joined: Jan 2013
Reputation:
0
|
RE: Locking Doors ,Give Item ,and Lights
Maybe you could script a function for locking and one for unlocking…and add at the end of both functions
an AddUseItemCallback which calls the other function…so locking causes the unlockfunction to run if key is again used on the door and otherway round.
But then u need to delete the AddUseItemCallback after collision…for having not both active^^.
I guess there is a more proper way…but i would try it like this. Dont know if it even works, only an idea.
edit: didn't see BeeKayK's post…forget mine if the if-way works
(This post was last modified: 01-23-2013, 01:11 PM by nivramm.)
|
|
01-23-2013, 01:09 PM |
|