Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

locking off a door

Page: 1 of 1
 darthVADER
09-07-2004, 11:41 PM
#1
how do i permanetly lock a door after it has closed once???
 *Dark
09-07-2004, 11:45 PM
#2
i think it is closetarget (could be wrong) linking the door to a target_deactivate then back to the door


func_door:
targetname door1
closetarget deact1

target_deactivate:
targetname deact1
target door1

but then you need a button (func_button or trigger_once because it is i use once door) to open it.
thinking about it you could just use a trigger_once to open it (when it is not on toggle) and once it is closed there is no way to open it again
 darthVADER
09-07-2004, 11:47 PM
#3
wel i have in my map a door thats triggerd by a destroyable object once the object is destroyed the doors close but they need to remain closed
 *Dark
09-07-2004, 11:50 PM
#4
if there is only 1 destroyable object, or one for every time you want the door to open and no other entities triggering the door then you already have the effect that you want
 darthVADER
09-07-2004, 11:51 PM
#5
there is 1 destroyable object
but when the door closes it opens again after a few seconds
its suposed to remain closed
 *Dark
09-08-2004, 6:49 AM
#6
that does not sound right. are you sure that you made the door correctly? or are there any other entities triggering the door?
 wedge2211
09-08-2004, 7:46 AM
#7
Give your door the START_OPEN spawnflag, and give it the key/value wait -1. Then target the destructable at the door. Voila.
 darthVADER
09-08-2004, 8:36 AM
#8
it works thanks but the area portal wont work tho any idea's?
 wedge2211
09-08-2004, 1:47 PM
#9
Area portals might be flooey with one-use doors. Did you texture the portal brush with common/skip except for one system/areaportal face?
Page: 1 of 1