Graphics

 View Only
  • 1.  Inning Indicators

    Posted 05-03-2023 12:04

    I have made a previous post about this topic however I have since switched data sources. I am trying to get our inning indicator arrows linked. Our Data comes in a "T" as top of the inning and "B" for bottom. I have tried what was recommended with the new data source but I have had no success. But basically I want a up arrow when it is the top of the inning and and a down arrow when it is the bottom of the inning. Thank you! Any help is greatly appreciated!







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


  • 2.  RE: Inning Indicators

    Posted 05-04-2023 08:39

    Place this script on a hidden text object that is linked to your data. Either rename your arrows or change this script to match the object names.


    Dim top, bottom as xpBaseObject
     
    Scene.GetObjectByName("top arrow",top) 
    Scene.GetObjectByName("bottom arrow", bottom)

     if text = "T" then 

     top.Visible=true
    bottom.visible=false

    else if text = "B"
    top.visible=false
    bottom.visible=true
     

    end if 



    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------



  • 3.  RE: Inning Indicators

    Posted 05-04-2023 09:32

    *EDITTED
    If you prefer visual logic, then you can do this.  When you setup the graphic, make sure Text1 is set to your data source and everything is set to invisible. Best of luck.



    ------------------------------
    Roger Heyward
    ------------------------------