Entity help

Discussion in 'Mapping Questions & Discussion' started by MrAlBobo, May 24, 2008.

  1. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    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
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    586
    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.
     
  3. Lord Ned

    Lord Ned L7: Fancy Member

    Messages:
    421
    Positive Ratings:
    174
    Take a look at dustbowl?
     
  4. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    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.
     
    • Thanks Thanks x 1
  5. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    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
     
  6. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    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.