Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Question about "Entering a pin number of a door script"

Author
Message
riccetts
14
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 18th Jun 2012 04:27
I need to know what doors to use and can I use a keypad from ww1 entities for this script? I tried it but the script is not working with the keypad(main). for "if used" I used the "door control room remote"(maker) For the door "use key" pad1.
Can any help please?
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 18th Jun 2012 18:23
Use this as the switch's AI Main script;



Make sure that the switch's 'if used' points to the door you're using, and the door has the same name as in the 'if used' field. I know that sounds obvious, but I've made that mistake myself!!

Also change the scancodes to whatever keys are used to open the door.

riccetts
14
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 18th Jun 2012 23:39
Thank you, I'll give it a whirl
riccetts
14
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 19th Jun 2012 07:28
It doesn't seem to be working.(I have v1.18)I wonder if it's the verion? What door do I use? A key,remote,auto or use maybe thats the problem.
Can ya help please?
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 19th Jun 2012 16:28
Works just fine here. Are you using doorremote.fpi for the door? Are you entering the correct access code?
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 19th Jun 2012 17:47
Quote: "It doesn't seem to be working.(I have v1.18)I wonder if it's the verion? What door do I use? A key,remote,auto or use maybe thats the problem.
Can ya help please? "


You need to use it with a remote door, which has doorremote.fpi as its ai main script. Also, you'll need to replace the hud image in the first part of the script with one of your own (I should have pointed that out in my 1st post, sorry).

The code in that script is 4501. Search, either in the forums, or using google, for 'keyboard scancodes', you'll find a list that you can use, should you want to use your own codes...

Login to post a reply

Server time is: 2024-11-24 00:39:33
Your offset time is: 2024-11-24 00:39:33