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 / Timed door?

Author
Message
Warped Factor 9
18
Years of Service
User Offline
Joined: 16th Jan 2006
Location: Right... behind you
Posted: 12th Apr 2006 23:32
What I'm looking for is a script that will open a door, via a switch or pressure pad (lift) and will stay open only for a certain amount of time. The player will have to run faster and get through enemies to get through the door before it closes again.

If anyone has a clue what I'm talking about, and/or can help me out, I would be very greatful.

-Warped

FPSC...The ultimate sippie cup for programmers!
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 14th Apr 2006 04:36
okay...

:state=0,activated=1:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff,timerstart
:state=2,timergreater=60000:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=0,setframe=0

Edited version of 'doorremote' activate using zone, will stay open for a min if you DON'T HAVE TIMERS used elsewhere. Only use on 1 door at a time.

We all have our inner noob.
Join the NJL: We have MORE fun!
When in doubt, blame a mod!
Warped Factor 9
18
Years of Service
User Offline
Joined: 16th Jan 2006
Location: Right... behind you
Posted: 15th Apr 2006 00:02
Thanks alot, OnePost.
I was going to do it myself, but I'm little busy.

Thanks again -
Warped
(formerly Vlad the Impaler)

FPSC...The ultimate sippie cup for programmers!

Login to post a reply

Server time is: 2024-11-22 09:13:11
Your offset time is: 2024-11-22 09:13:11