Door that opens after a certain amount of points are captured?

Discussion in 'Mapping Questions & Discussion' started by Prettyman, Jun 7, 2011.

  1. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    I'm making a five-point attack/defend map, and I want to have a door that opens after the first four points are captured to allow access to the final point. I'm a bit confused on how to do this, so any help will be greatly appreciated.

    Thank you in advance!
     
  2. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    176
    how about the door opens after capturing one CP which had a requirement of other CPs to be captured?

    Edit: or are you just asking about the exact formula for input which opens door?
     
  3. Faux Rhinoceros

    aa Faux Rhinoceros Also known as Dr. Element

    Messages:
    1,481
    Positive Ratings:
    1,583
    I suppose the first 4 points can be capped in any order, since this is a problem (?)

    If thats the case, i dont know :p
    Maybe there is a variable that can store a variable, because then it would be possible
     
  4. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    The first four points can be captured in a random order, so I can't have it open after the fourth point, because it could be captured before the other ones.
     
  5. Godslayer57

    Godslayer57 L8: Fancy Shmancy Member

    Messages:
    573
    Positive Ratings:
    323
    Maybe have a series of thin doors that open once each oint is captured eg 1 a , 2 b ,3 c , 4 d etc
    That would allow the way to be open after all points are capped.
     
  6. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    304
    use a math_counter. Each capture increases the counter by one, when the counter hits max (4), it triggers the door.
     
    • Thanks Thanks x 1
  7. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    That's a great idea! Thank you, kind sir!
     
  8. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,309
    Another way to do this:
    4 logic_branches enabled by the relative captures
    1 logic_branch listener that opens the door when all 4 are true
     
  9. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    304
  10. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,309
    technically yours was more elegant
     
  11. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,767
    My experience is the "max" I/O doesn't work. I had to specify the amount to get a similar setup to work which required a max of 3 to trigger. IE i had to tell it to trigger when the counter reached 3 and then reset it because just using "max" with a max of 3 didn't work. It wasn't firing for some reason.

    Dunno if anyone else has had this problem...
     
  12. Prettyman

    Prettyman L1: Registered

    Messages:
    30
    Positive Ratings:
    1
    Yep, loc_n_lol's way works great. Thanks again!