Hey there frictionalgamesforum,
I've been working on this for a while, and I've taken a look at how other maps have done it, but I can't seem to get unlockable doors to work.
Here's what I've got:
The code I've got for the door
I'm guessing it has something to do with the callbacks, but I'm not really getting it, so. Any help is welcome.
Thanks,
Pigsareit
ninja edit: Ok, I think I just realised my mistake after reviewing that. The names dont match up. I cant delete the post cause it says I have yet to be authorized by a mod. so . I ll reply with what happens.
ninja edit 2: No, Ok. I updated the tinyurl to the code, I guess I am actually doing something wrong.
ninja edit 3: Ok. I fixed it. It was the callbacks.
For future refrence:
in void OnStart()
AddUseItemCallback("", "startroom_key", "startroom_door", "UnlockBedroom_Locked", true);
Thanks anyway.