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 Product Chat / Door Key Code Sistem ?

Author
Message
Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 5th May 2010 16:39
Is it possible,that you have to enter a 4 digit code to open a door?
Gamer X
18
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 5th May 2010 17:07
yes it is, matter of fact the code is on page 72 of the official community fpsc guide

I also made a more complex one for one of my games.

Zay
16
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 5th May 2010 17:52
Ok thanks man
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 7th May 2010 19:23
It would be something like:

desc = keypad script by Marc Steene

:state=0:state=1
:state=1,plrdistwithin=80:state=2
:state=2,scancodekeypressed=X:state=3
:state=3,scancodekeypressed=X:state=4
:state=4,scancodekeypressed=X:state=5
:state=5,scancodeleypressed=X:activateifused=1,state=6
:state=6:state=6

:plrdistfurther=80:state=1

Add that script to the keypad entity, and set the IfUsed to the door name (with the remote script set). No idea if this will work, I just wrote it quickly


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21

Login to post a reply

Server time is: 2026-07-05 04:34:36
Your offset time is: 2026-07-05 04:34:36