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 Product Chat / Closing A Door

Author
Message
leebo
17
Years of Service
User Offline
Joined: 29th May 2009
Location: Ohio
Posted: 24th Mar 2010 17:25 Edited at: 24th Mar 2010 17:29
I have tried several of the scripts on the forum but either they are not working or they entail locking the door so they can't get out. I am wanting to close a door that is usable once the player enters the trigger zone

I have tried having a remote script open the door within a trigger, and it does not work when I place another trigger on the other side.

I have tried using the stock dooruse script and it will not close when activating the trigger on the other side.

TerrorNation
16
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 24th Mar 2010 18:27
So only when he is in the Trigger Zone can your player press enter to open the door?
leebo
17
Years of Service
User Offline
Joined: 29th May 2009
Location: Ohio
Posted: 24th Mar 2010 19:01
This is no way in any shape sarcasm.

Step 1. I add a door and give door01 name
Step 2. I add a trigger and give it the plrinzoneactivateused, ifused=door01

run game
player opens door and walks in room hits the trigger zone which will close the door and then after he is done in the room I want to USE the door to be able to exit the room

ultraplex
20
Years of Service
User Offline
Joined: 8th Dec 2005
Location: cyberspace
Posted: 24th Mar 2010 21:41
you could try and create a endzone just after the player has entered the room,then create an exact copy of the room and use a trigger to tell the player he must solve a puzzle to leave,using the completion of the puzzel to endzone just outside of the original room....Just an Idea

Aye me hearties hoist the jolly roger
Shadowtroid
16
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 24th Mar 2010 23:32
Well, dooruse won't work for that. You'd need to frankenstein the remote door and dooruse scripts for that. Try this for the door:



Try that. Have not tested it, but it should work.

ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 25th Mar 2010 15:10 Edited at: 25th Mar 2010 15:54
a doorscript and only one triggerzone was my first idea too but wouldnt be bulletproof....if the player does not enter the room after opening the door the door would close and it wouldnt be possible to open it again.

here is a doorscript that closes the door when the player enters a triggerzone behind the door. It stays closed until a other triggerzone or any other entity with "activateifused=1" and the doorname in its IS USED field activates it:



and the script for the triggerzone behind the door:

Login to post a reply

Server time is: 2026-07-21 19:18:26
Your offset time is: 2026-07-21 19:18:26