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 / One way door?

Author
Message
Goldleader5
15
Years of Service
User Offline
Joined: 18th Nov 2009
Location:
Posted: 27th Nov 2009 00:56
Ok, so I've gotten underway with my game, things are moving well with the manual that I downloaded. Now, I need to make a sort of "air lock." The player needs to be able to go through a door, flip a switch, and have one door close, and the other open. And I want to have that be a one way thing, so they can't go back through. I found this script, but I'm not quite sure how to use it



Diagram:

Any thoughts or ideas?

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 28th Nov 2009 02:00
I, personally, would just make a new "remote door" script based on the default one, making it so that it starts out open and closes when activated. After that, just give you first door the new script you made, the second door the default remote door script.... give both of the doors the same name, give your switch's "IfUsed" field the name of your doors, and have the switch "activateifused=1" when pressed.


The one and only,


Goldleader5
15
Years of Service
User Offline
Joined: 18th Nov 2009
Location:
Posted: 29th Nov 2009 04:40
Ha, never thought of just fixing the old script :p. Thanks alot, I also figured out how to lock the door

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size

Login to post a reply

Server time is: 2024-11-25 05:47:00
Your offset time is: 2024-11-25 05:47:00