Graphics

 View Only
  • 1.  Datalinq Dakstats Bases

    Posted 03-23-2023 10:47

    Hello,

    I am currently trying to link my scorebug and the data source inputs someone is on base by a "*. What is the best to link this in visual logic so when a "*" appears the color of the quad changes to a yellow color. I am pretty new to visual logic. Any help is greatly appreciated! Thank you!



    ------------------------------
    Jack Novelli
    Video Production Manager
    Columbia Fireflies
    ------------------------------


  • 2.  RE: Datalinq Dakstats Bases

    Posted 03-23-2023 11:12
      |   view attached

    The way I would do it on visual logic is to use an Input Selector. 

    Use String Compare node to compare the Indicator text object to a String Value node which has * as the value. So when the text has  * it will turn on the String Compare node and will output a 1. Connect this to the Input Selector node's index. Put the two materials into the Input Selector inputs,  0 being the base and1 being the yellow material. Then just connect the output to the quad face. 

    Basic setup:

    Material nodes:

    Quad face node:

    Text field node:

     Function nodes:



    ------------------------------
    Omar Reyes
    ------------------------------

    Attachment(s)

    xpf
    Yellow Base.xpf   46 KB 1 version


  • 3.  RE: Datalinq Dakstats Bases

    Posted 03-23-2023 13:26

    Wow! This is awesome thank you much. I am confused as to where I get the "indicator text" box. Is that just the datalinq? I've built the rest of the setup. I really appreciate your help! 



    ------------------------------
    Jack Novelli
    Video Production Manager
    Columbia Fireflies
    ------------------------------



  • 4.  RE: Datalinq Dakstats Bases

    Posted 03-23-2023 14:33

    That's just a text object I renamed. You can see the project in the project file I attached previously.

    Here's how to link the text object to datalinq:



    ------------------------------
    Omar Reyes
    ------------------------------