Compare Variables In A Gate Node

Discussion in 'How Can I...?' started by Cheatcode2explode, May 31, 2021.

  1. Cheatcode2explode

    Cheatcode2explode Boxer

    Joined:
    May 3, 2020
    Messages:
    2
    Likes Received:
    0
    Hi, I am really stuck and have been trying to figure this out for awhile. I am not able to find anything to reference for this either. Also to note I am not particularly skilled with coding.

    I am trying to create a node that has two inputs and one output. I would like the node to compare both input values and output a "true" value if both are equal and "false" if they are not. So far I am unsuccessful. Does anyone have an idea on how to do this?

    Thank you.
     

    Attached Files:

  2. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    176
    Likes Received:
    72
    You can ask Smart pinguins for their "If Both True" bbasset / node.
    I can't find it online and I can't attach it here. :( @Smart Penguins
     
  3. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    176
    Likes Received:
    72
  4. Snozzberry

    Snozzberry Avid Boxer

    Joined:
    Apr 9, 2019
    Messages:
    103
    Likes Received:
    62
    I believe a logic gate will work for you. Just so happens the greatest man that ever lived @Vlad-NY has made a logic gate node available for free on his itch store. https://vlad-ny.itch.io/logic-gates
     
    wmfear and Sean Buildbox like this.
  5. Snozzberry

    Snozzberry Avid Boxer

    Joined:
    Apr 9, 2019
    Messages:
    103
    Likes Received:
    62
    Did you ever try the logic gate node?
     

Share This Page