New Node: Switch-states-controller

Discussion in 'Buildbox General Discussion' started by mohamed awad, Jun 12, 2020.

  1. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    314
    Likes Received:
    158
    Hi there,
    I saw many boxers ( just 2 actually) asking for Switch Node with more than 2 outputs, So I have built this node,
    The special thing on this node is you can control on switch outputs up to 8 output
    let's talk about it
    We have 2 attributes
    Emit On Start to enable first output on start
    Number of States to control the output states ( A, B, C, D, E, F, G, H)
    let's say we set it 3
    then it will trigger A B C
    and back to A and so on
    so easy right?
    you can set Number of States up to 8,
    if you need more, just ask on the comments
    15e49597c416a35a27807bb3f632af8f.png

    here is the download link

    https://gum.co/OsGzm
     
    Last edited: Nov 13, 2020
  2. kipasgajah

    kipasgajah Boxer

    Joined:
    Oct 5, 2015
    Messages:
    24
    Likes Received:
    10
    thank you very much sir !!
     
    mohamed awad likes this.
  3. Snozzberry

    Snozzberry Avid Boxer

    Joined:
    Apr 9, 2019
    Messages:
    103
    Likes Received:
    62
    Thank you so much for sharing this! It's people like you that are helping people like me make better games!
     
    mohamed awad likes this.
  4. Snozzberry

    Snozzberry Avid Boxer

    Joined:
    Apr 9, 2019
    Messages:
    103
    Likes Received:
    62
    Kooky idea. What about making this into a combo counter? Maybe add a time value to be the window of opportunity to advance to the next state. There could be an option for total time that the counter will be open or a time that each state will allow to receive the next signal. If the next state is not advanced to before the next signal then it will reset to start back at state 0.
     
  5. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    314
    Likes Received:
    158
    I think it doesn't require a lot of script editing to become an option, you can use time node to achieve this, new input for switch node - reset switch if true.
     
    Snozzberry likes this.
  6. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    314
    Likes Received:
    158

Share This Page