Location: JBPLAY \ Meteor 2 \ Help and Guidance \ Need some scripting help... Back to Threads |
ArneHn
![]() Joined: 01 March 2007 Posts: 9 |
01 March 2007 13:21 (UK time)
Hello! I want to make a script (to a door), where something like this happens: > Enter Doorpassword If Correct Password (How do i choose password in a script?), opendoor. If wrong password, play specific sound. Would also be great if the script "repeated" itself, like if you type the wrong password. Will i only need a SC_SetSectorHidden(*,0), if the script is triggered by a specific sector? You need to login to create posts in this thread. |
arezey
![]() Joined: 16 June 2005 Posts: 1599 |
03 March 2007 08:46 (UK time)
Use the door password setting You need to login to create posts in this thread. |
40oz![]()
![]() Joined: 03 January 2004 Posts: 1799 |
03 March 2007 14:29 (UK time)
I'm not too fancy with meteor's capabilities. However, allow me to be a little more in depth. Right click on the sector you want to use a password on. Then, go to sector properties. Then click on the subcategory ''Door's and required items''. The last one in the list is ''Required Password'' Whenever you touch this sector, it will ask you to type in the password. I dont know if you can make it play a sound from incorrectly typing the password, it will just say ''incorrect password'' or something like that. The password is required before anything to be enabled. You can also make a sector passworded to enable other existing scirpt triggers as well, like a passworded forcefield, password to spawn enemies, password to turn the ground to lava, whatever.
Edited: 03 March 2007 14:32 You need to login to create posts in this thread. |
ArneHn
![]() Joined: 01 March 2007 Posts: 9 |
04 March 2007 21:05 (UK time)
Yeah, i'm aware of the "Password Selection for Doors" function, but i really wonder how to play a specific sound if a wrong password is entered. You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use