PDA

View Full Version : key script


virus200735
11-14-2007, 06:17 AM
Okay I was woundering how do i make a key and have it open and lock a door event. I also would like if someone could tell me step by step.

But the site I found it on doesn't have a how to make a key item and make it trigger a door warp in a building and lock the door and use the key to unlock door both ways.

I'm trying and trying and couldn't figure it out. It is getting me frustrated.
:(

Lunchbox19464431
11-18-2007, 04:01 PM
well, Im just takeing a crack at this but If you have a door script, you should just add a page for when its locked and then for the key use a flag for weather itss locked or not then when you go to the door or something simply have it ask weather to lock/unlock the door, then change the flag acordinly.

If you want an actual script for it though youll have to let me know and I can post it sometime soon.