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 constantly opens and closes

Author
Message
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 6th Jan 2008 17:32 Edited at: 6th Jan 2008 17:45
I'm making a game and I was wondering how I could get it so a door constantly opens and closes by itself. It would be nice if it would have that little squeek as the door opens and closes and have no "press enter to use" thing. I tried modifying the dooruse but it didn't work.

Thanks.

----Edit----

I got it to work and it works great!

It starts opening and closing once you get so close to it but you can always change the distance you need to be near it.

Well, I guess I'll give it to you guys.

Here it is:



It's also in the attacnments box.

Just save it in the scriptbank.

Attachments

Login to view attachments
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 6th Jan 2008 17:46
Well, i guess i could help you with that:



Unsure about it working as i haven't tested it, reply and tell me how it goes.

sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 6th Jan 2008 17:53
I edited my post the same time you posted yours. I said that it started working fine.

Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 6th Jan 2008 18:22
That's a pretty cool script, nice work!


Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 6th Jan 2008 18:48
...nifty script!


Widow 13 - Coming Spring 2008
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 6th Jan 2008 19:21
Thanks

CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 6th Jan 2008 19:48
nice work there Sps999!

Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 6th Jan 2008 20:11
Nice script dude!

Snipe to Success
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 6th Jan 2008 22:48
@all

Thanks

I got the Idea when I was bored and I was sitting there quickly opening and closing a door.(Don't ask why)

I tried to make it delay so you could actually go through the door and it'll have the same effect as before using timers but it doesn't want to open or close at all.

Login to post a reply

Server time is: 2024-11-27 21:25:24
Your offset time is: 2024-11-27 21:25:24