Jump to content

Geck Help: Door always requires key to open


blackhand8657

Recommended Posts

I'm making a personal mod making a ranch. i want it to have a vault, like a bank type vault, but i want it to always require a key to open, not just a one-time use key. i remember seeing doors that do that, although i dont remember where, but if anyone knows how to do that, i'd like to know how. thank you
Link to comment
Share on other sites

I haven't tried this, but it should work.

Create a new script like this:

scn <scriptName>

Begin GameMode
if (GetOpenState == 3)
	Lock
endif
End

 

And attach it to the door.

 

Haha, worked like a charm, thanks dude. Kudos :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...