Button lock bug

Discussion in 'Mapping Questions & Discussion' started by swǝƃ˙ le pruno galactique, Aug 23, 2016.

  1. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2
    Hi. I was creating a deathrun map, and,when i pressed my button, i set it up to lock itself. I also set up a jump where you can choose wich spot will kill you, and then lock the other spot button only one spot kill you
    hammer2.png
    But here is problem : the button don't want to lock anything.
    hammer1.png
     
  2. ggggass

    ggggass L1: Registered

    Messages:
    28
    Positive Ratings:
    0
    what ?
     
    • Respectfully Disagree Respectfully Disagree x 1
  3. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2
  4. Vel0city

    aa Vel0city func_fish

    Messages:
    1,909
    Positive Ratings:
    1,529
    Instead of locking, you can try disabling the button it: OnDamage->-name of your button->Disable
     
  5. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2
  6. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2
    Disable is not avaliable, i'm setting it to "kill" instead
     
  7. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,381
    Positive Ratings:
    4,206
    "Kill" will effectively disable it for the rest of the round, with no way to re-enable it. But if that's what you were going for anyway then fair enough
     
  8. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2
  9. Izotope

    aa Izotope Never releases maps

    Messages:
    608
    Positive Ratings:
    568
    [​IMG]
    OnPressed > OnDamaged
    Which is why locking didn't work, you kept damaging a locked button, therefore still firing the output.
    But you can't press a locked button.
    Do this for all your deathrun buttons.

    Hope this helps ;)
     
  10. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2
  11. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    833
    OnPressed also lets players press a button by binding a key to +use, on servers that allow it. It's a bit quicker to spring the trap than melee hitting the button, and it doesn't give away your position because there is no weapon impact sound.
     
    • Agree Agree x 2
  12. swǝƃ˙ le pruno galactique

    swǝƃ˙ le pruno galactique L1: Registered

    Messages:
    14
    Positive Ratings:
    2