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 / Door scripting

Author
Message
zemon1
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 1st Dec 2008 04:16
I know little about scripting in this program, however for school i need to make a game in Dark basic and this is what im useing to make my life a little easier. What i need to figure out how to acomplish is. When the player uses the door, they are prompted with a question, say, what is the sum of 2+2 and they must enter in 4. Then the door opens. Any ideas how to do this, or any directions someone can point me in to make this happen?
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 1st Dec 2008 12:55
There is a script out here somewhere regarding needing to enter a code into a keypad. I think with a little modification it could work for you here. Not sure which thread it is, but if you search for it you should find it.
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 1st Dec 2008 16:34
http://www.fpsfree.com/downloads.htm#Scripts

...find Code Switch.

With some modification, this will easily give you the function you seek...


Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Dec 2008 22:53
For this type of application, DBP would be the easier way to go.



That seems, to me, to be 100x easier than doing it in FPSC.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.

Login to post a reply

Server time is: 2024-11-24 16:46:58
Your offset time is: 2024-11-24 16:46:58