Entity help

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
So...I want to set a door so that it can only open once the setup ends, but then the door functions normally.

The problem im running into, is that this door is on the second round.
To get the door to not open I set the trigger that opens the door to start disabled then I have a logic relay enabling it when the setup ends.
So...basically what happens is that everything works fine if I try it on the 1st round. But on the 2nd round, since the trigger is already enabled the door opens before the setup ends. So I tried to disable it again before the setup of round 2 begins, but then the setup doesn't enable the door trigger again so it stays shut.

So...yeah...ive been trying to figure this out for awhile now
 
T

The Asylum

I don't have Hammer handy with me at the moment, but why not just use two sets of doors? One to open when Setup ends, and the other to function normally? I bet if you put them on top one one another and then sent the Setup door and it's children a Kill input with OnSetupFinished, you'll get what you want.

There's probably a better solution, though, but that's my off-the-cart answer.
 

Foreverkul

L4: Comfortable Member
Apr 12, 2008
157
14
I think you should be using Lock/Unlock, not disable/enable.
During the first round it should be disabled and locked, then during the setup time for the second round, it should be enabled buy locked. Then when the timer is done it should become unlocked. Something like that.
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
hmm...I didn't even know there was a lock/unlock...ill take a look at that sometime today

I thought about 2 doors, but that arrives at the same problem of the 1st setup enabling it

EDIT: Actually...I just thought of something...Ill see if I can lock the door OnSetupStart then unlock it OnSetupEnd
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
ugh...another couple of hours and I still can't get it to work
either the door stays open in the second second round, or it stays closed

so...I decided to just make another room outside the door that has gates that open when setup ends, but...the same thing happens
If anyone has made a dustbowl type attack and defend map, I could use some help about what entities I need, or a tutorial if one exists. Ive looked at dustbowl, but its not really helping, I even decompiled another and attack/ defend map and looked at all the related things.