Airslide,
I have read all posts in this thread. I have been trying to get the key pad script to function. you said that it used 4 numbers for the combo. I looked at the script and there is only three numbers for the combo, they are "347". I added a door to a level and gave it the key pad script for the main. I tried to open the door using "347" and the sounds played that said I used the right combo. The door did not open. I have the "Num Lock" turned off. I have V105RC2 installed. Were there changes that dont allow the script to run anymore?
Edit:
Duh!!
I applied the script to the door and not a switch. Now I have applied to a switch and it works great.
Im still confused about the combo though.
I only see 3 numbers for the combo in the script "347" where does the "1" come in?
I like the voodoo you do well.
Edit the sequel:
Stared at the script for a while and it came to me.
I know now where the 1 comes into play. AWSOME!!!
Thanks a million.
Now all I have to do is figure out how to change the combo. That will take a long while by the look of it. I tried to change the first number in the combo and it rendered the rest of the numbers useless.
It seems that the following should make the combo 1202. I got a tone that said that the first number was right. The other numbers made no tones and the door did not open.
;Artificial Intelligence Script
;Header
desc = Key Pad (Enter the correct combination!)
;Must use keypad to the right!
;1 - 79, 2 - 80, 3 - 81, 4 - 75, 5 - 76, 6 - 77, 7 - 71, 8 - 72, 9 - 73,
0 - 82
;Triggers
:state=0:state=50
:state=50,plrdistwithin=50,scancodekeypressed=79:state=0
:state=50,plrdistwithin=50,scancodekeypressed=80:state=0
:state=50,plrdistwithin=50,scancodekeypressed=81:state=0
:state=50,plrdistwithin=50,scancodekeypressed=75:state=0
:state=50,plrdistwithin=50,scancodekeypressed=76:state=0
:state=50,plrdistwithin=50,scancodekeypressed=77:state=0
:state=50,plrdistwithin=50,scancodekeypressed=71:state=0
:state=50,plrdistwithin=50,scancodekeypressed=72:state=0
:state=50,plrdistwithin=50,scancodekeypressed=73:state=0
:state=50,plrdistwithin=50,scancodekeypressed=82:state=0
:state=50:state=1
:state=1,plrdistwithin=50,scancodekeypressed=79:state=2,sound=$0
:state=1,plrdistwithin=50,scancodekeypressed=80:state=11
:state=1,plrdistwithin=50,scancodekeypressed=81:state=11
:state=1,plrdistwithin=50,scancodekeypressed=75:state=11
:state=1,plrdistwithin=50,scancodekeypressed=76:state=11
:state=1,plrdistwithin=50,scancodekeypressed=77:state=11
:state=1,plrdistwithin=50,scancodekeypressed=71:state=11
:state=1,plrdistwithin=50,scancodekeypressed=72:state=11
:state=1,plrdistwithin=50,scancodekeypressed=73:state=11
:state=1,plrdistwithin=50,scancodekeypressed=82:state=11
:state=2:state=3
:state=3,scancodekeypressed=81:state=2
:state=3:state=4
:state=4,plrdistwithin=50,scancodekeypressed=79:state=11
:state=4,plrdistwithin=50,scancodekeypressed=80:state=5,sound=$0
:state=4,plrdistwithin=50,scancodekeypressed=81:state=11
:state=4,plrdistwithin=50,scancodekeypressed=75:state=11
:state=4,plrdistwithin=50,scancodekeypressed=76:state=11
:state=4,plrdistwithin=50,scancodekeypressed=77:state=11
:state=4,plrdistwithin=50,scancodekeypressed=71:state=11
:state=4,plrdistwithin=50,scancodekeypressed=72:state=11
:state=4,plrdistwithin=50,scancodekeypressed=73:state=11
:state=4,plrdistwithin=50,scancodekeypressed=82:state=11
:state=5:state=6
:state=6,scancodekeypressed=75:state=5
:state=6:state=7
:state=7,plrdistwithin=50,scancodekeypressed=79:state=11
:state=7,plrdistwithin=50,scancodekeypressed=80:state=11
:state=7,plrdistwithin=50,scancodekeypressed=81:state=11
:state=7,plrdistwithin=50,scancodekeypressed=75:state=11
:state=7,plrdistwithin=50,scancodekeypressed=76:state=11
:state=7,plrdistwithin=50,scancodekeypressed=77:state=11
:state=7,plrdistwithin=50,scancodekeypressed=71:state=11
:state=7,plrdistwithin=50,scancodekeypressed=72:state=11
:state=7,plrdistwithin=50,scancodekeypressed=73:state=11
:state=7,plrdistwithin=50,scancodekeypressed=82:state=8,sound=$0
:state=8:state=9
:state=9,scancodekeypressed=71:state=8
:state=9:state=10
:state=10,plrdistwithin=50,scancodekeypressed=79:state=11
:state=10,plrdistwithin=50,scancodekeypressed=80:state=12,sound=$0
:state=10,plrdistwithin=50,scancodekeypressed=81:state=11
:state=10,plrdistwithin=50,scancodekeypressed=75:state=11
:state=10,plrdistwithin=50,scancodekeypressed=76:state=11
:state=10,plrdistwithin=50,scancodekeypressed=77:state=11
:state=10,plrdistwithin=50,scancodekeypressed=71:state=11
:state=10,plrdistwithin=50,scancodekeypressed=72:state=11
:state=10,plrdistwithin=50,scancodekeypressed=73:state=11
:state=10,plrdistwithin=50,scancodekeypressed=82:state=11
:state=12:activateifused=1,alttexture=1,state=13
:state=11:sound=$1,state=0
;End of Script
I have tried several combonations and only "3471" seems to work.
Any thoughts on this?
Edit:
Once again I sat and stared at the script and the answer came to me. I can now change the combo.
Superb work Airslide. I love it!!
The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. FPSC is Getting better. Now if we can just keep the ball rolling.