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 opens one way

Author
Message
Lugan
20
Years of Service
User Offline
Joined: 24th Sep 2003
Location: Colorado, USA
Posted: 10th Mar 2006 23:23
Is there a way to setup a door to open one way but not the other? I want it so when the player opens the door, walks thru the doorway and the door closes, the player turns around but the door will not open.

Lugan
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 11th Mar 2006 18:57
Easy way... put a swich on oneside of the door and not the other...

Mosillivo: Fires Rage, Earth Rumble, Evil Reigns, Cities Tumble
Join the NJL: The War Has Begun, Which Side Are You On?
Nunticaelitusphobic (Scared of Internet)
Lugan
20
Years of Service
User Offline
Joined: 24th Sep 2003
Location: Colorado, USA
Posted: 13th Mar 2006 00:45
I want to use automatic opening doors.

Lugan
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 13th Mar 2006 13:58
Then use triggers, that's what they are for. Put a trigger zone on each side of the door. One opens the door, they other closes it. You may need to have to script a little to achive it.

MegaMusic Pack 01.... 31 original soundtracks for your games!
http://www.aeilkema.dds.nl/mega/index.html
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 13th Mar 2006 17:21 Edited at: 13th Mar 2006 18:04
Yes,
The easiest way is to remove the loop from the original script so that the door only operates once.
But, if they don't go through when it opens then they miss out, even if they are on the right side.

Another way uses only one trigger to continue the loop (call the script again) as it would default to locked.
But, thats the same as having the one switch only it would be automatic instead of hitting a button.



Edit
Here you go.
I call this snippet plrinzone2.fpi

(1) Save it and use if for your Trigger Zone's AIMAIN.
(2) Place the Trigger Zone in front of your Door on the side you want to make it open.
(3) Change your Door's AIMAIN to doorremote.fpi
(4) Put the Door's Name in the IFUSED of the Trigger Zone.

There's your One-Sided-Automatic-Door.
Now, they have crossed the point of no return.

Have fun!

Don't forget to visit Conjured Entertainment
Lugan
20
Years of Service
User Offline
Joined: 24th Sep 2003
Location: Colorado, USA
Posted: 15th Mar 2006 18:19
Justa wanted to say thank you to everyone who helps out people on this forum. I know some of you here it, but I bet it feels nice to here it again! Thank You!

Lugan

"I am king of the world, in my own mind! At least I am king!"

Login to post a reply

Server time is: 2024-05-06 19:19:33
Your offset time is: 2024-05-06 19:19:33