sequence

Discussion in 'Mapping Questions & Discussion' started by n30n, Dec 3, 2009.

  1. n30n

    n30n L4: Comfortable Member

    Messages:
    154
    Positive Ratings:
    13
    So, basically I have few func_brushes and trigger_multiple. I want to disable and enable them in a sequence. Ive set up that like a door pretty much, starttouchall disable endtouchall enable with slight delay for each brush. My problem is when i get in and out of trigger, it gets stuck out of order with half enabled half disabled. Is there some clever way to fix this issue? I hope its readable :p
     
  2. Agentkid

    Agentkid L1: Registered

    Messages:
    45
    Positive Ratings:
    15
    it is just a door or many doors I'm sorry to say im lost
     
  3. n30n

    n30n L4: Comfortable Member

    Messages:
    154
    Positive Ratings:
    13
    So i have this:
    http://dl.dropbox.com/u/3354214/cube.png
    cube1-7 are func_brushes that make cube. outside of it theres trigger_multiple. When i trigger it too fast it stucks with some brushes enabled and some disabled.
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    You'll need two logic_relay, one for Start and one for End, copy all the corresponding outputs to these relays and then delete them from the trigger.

    Give the trigger four outputs:
    OnStartTouchAll > startrelay > trigger > 0.1 delay
    OnStartTouchAll > endrelay > cancelpending > no delay
    OnEndTouchAll > endrelay > trigger > 0.1 delay
    OnEndTouchAll > startrelay > cancelpending > no delay

    This way when the trigger status changes it will cancel all the enable/disable outputs currently queued and then begin firing the opposite sequence.
     
    • Thanks Thanks x 1
  5. n30n

    n30n L4: Comfortable Member

    Messages:
    154
    Positive Ratings:
    13
    Perfect, thanks!