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 close

Author
Message
Melchet
14
Years of Service
User Offline
Joined: 11th Dec 2009
Location:
Posted: 24th Jun 2014 14:45
Hello,

is there a trigger when you walk trough door the door goes close automatical via trigger and you cannot open it again?
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 25th Jun 2014 18:20
Hi Melchet
The easiest thing to do is to take the door script your using
and change the "state" after it "closes" to one not being used.
On the other hand, do you need the door to be usable till it's triggered to close/lock?

You know you're a bad gamer when you're able to run out of infinite lives.
Melchet
14
Years of Service
User Offline
Joined: 11th Dec 2009
Location:
Posted: 25th Jun 2014 18:34
I would like the idea that the player opens the door, after you've walked in the door close automatic behind the player and you can't open it anymore
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 26th Jun 2014 01:02 Edited at: 26th Jun 2014 01:03
Quote: "is there a trigger when you walk trough door the door goes close automatical via trigger and you cannot open it again? "


Quote: "The easiest thing to do is to take the door script your using
and change the "state" after it "closes" to one not being used."


Like this...

Original door script



Door script that allows you to use once and then stays closed.




Quote: "On the other hand, do you need the door to be usable till it's triggered to close/lock?"


Even with the above script, the door is usable. It could be modified to allow one use, two, or three uses.

There's no problem that can't be solved without applying a little scripting.
Melchet
14
Years of Service
User Offline
Joined: 11th Dec 2009
Location:
Posted: 26th Jun 2014 09:49
I guess I have to send the script to Wordpad and save it as fpi file and use it in fps creator as main script?
Melchet
14
Years of Service
User Offline
Joined: 11th Dec 2009
Location:
Posted: 26th Jun 2014 10:10
Is there to an script that the player opens the door and after walking inside the door slam's close and cannot be openend?
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 27th Jun 2014 16:33
Melchet
Yes, it's the script BlackFox gave you above
You can use door once, then shuts and locks.

You know you're a bad gamer when you're able to run out of infinite lives.

Login to post a reply

Server time is: 2024-11-23 08:21:25
Your offset time is: 2024-11-23 08:21:25