Jump to content

Help with a script


Recommended Posts

Posted

I want to make a door that you click on and it opens a menu where the player types in a 4 digit number and the door opens.

Sorry in advance if this is impossible i have no idea where to start

 

Posted
1 hour ago, krestor said:

I want to make a door that you click on and it opens a menu where the player types in a 4 digit number and the door opens.

Sorry in advance if this is impossible i have no idea where to start

 

You could use UI extensions text entry. I've used it before to name outfits. 

UITextEntryMenu TextMenu = UIExtensions.GetMenu("UITextEntryMenu") as UITextEntryMenu
TextMenu.SetPropertyString("text", "xxxx")
TextMenu.OpenMenu(PlayerRef)
String KeyCode = TextMenu.GetResultString()

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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