Jump to content
You are about to reply to a thread that has been inactive for 1573 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Posted

I want to use a combination lock for a swinging door. The functionality I visualize is that one would click on the door, and either a menu with numbered buttons or a prompt to type the combination in chat would appear, and when the correct combination was entered, the door would open.

Is such a script available anywhere?

Posted

The simplest way to do it, perhaps, is to have your script open a text box when you click on the door.  Something like this

llTextBox( llDetectedKey(0), "\n Please type in the combination now ... ", iChan);

In the listen event, do the normal checks to be sure that the person has typed the right combination, and then unlock the door.  You could certainly think of harder ways to do this ... even more elegant ones ... but that's all you need.

  • 2 weeks later...
  • 2 weeks later...
You are about to reply to a thread that has been inactive for 1573 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...