Making a Door That Needs a Key

MMRD Site


Free Graphic Programs


My Homepage


I need to make a door (load door) that does not have a lock lvl, but you HAVE to have the key to open it, otherwise there's no means of entry. Is it a script i need?

--MOO_COW--

===================================================

Heres a REALLY simple script that does exactly what you want Moo Cow.

begin Bovine_Door_Opener

if ( OnActivate == 1 )

if ( player->getitemcount, "Bovine_Opener" > 0 )
Activate
else
MessageBox "The Door appears magically sealed" "Ok"
endif
endif

End Bovine_Door_opener

Pretty much along the same lines as petrograds but a few less if endif statements. If you want sounds, just add em above the messagebox and above the activate statement.


-----another question: When i delate the "OK" in this script will it be shown like the one on Cavern of Incarnate doors? (message at the bottom of the screen without button)-------


Yep just delete the ok. The message will then appear and disappear as normal.





Built by ZyWeb, the best online web page builder. Click for a free trial.