• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [Solved] Problem with Text Comparator

    Troubleshooting and Bug Reports
    3
    4
    925
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      A3SH last edited by DusX

      Hi,

      I am trying to figure out the logic of the text comparator. I use the ReadTextFromFile plugin to read a text from a text file. The text file is updated every couple of seconds where a score is changing. With the text comparator I would like to trigger another text when a certain score is reached. On input 1 of the text comparator I have the output from the ReadTextFromFile actor and on input 2 I have a Trigger Text Actor with the text of the final score. The strange thing is that it some times works and when the score in the txt file reaches the score of the text in the Trigger Text Actor, the Text Comparator outputs a 1 and triggers true, but most of the time it doesn't work. It doesn't react at all. Is there something I am missing regarding to this Actor? Or is it possible that there goes something wrong on the side of the ReadTextFromFile Actor? Thanks!

      Adri


      Windows 10, Core I7-9750H CPU 2.60GHz, 16 Gig Ram, Geforce GTX 2060

      Lenovo Legion Y540, Windows 10, core i7 9th generation, 16 gig ram, Nvidia RTX 2060 graphics card and Isadora version 3.08b57

      D 1 Reply Last reply Reply Quote 0
      • D
        DillTheKraut @A3SH last edited by

        @a3sh

        Have you tried to change the 'notify' value to 'always'?

        Best
        Dill

        1 Reply Last reply Reply Quote 1
        • Juriaan
          Juriaan Tech Staff last edited by Juriaan

          Hi there,

          Nice to see some more dutch users on this forum :) 

          First of all, the Read Text From File actor is not really supported since this is a plugin written by an forum user and is not officially an Isadora plugin. You can use the Data Array actor to get the same results and it has support for .csv files, perhaps handy if you want to make an quest system like you are doing now. I find it more stable this way then use the Read Text From File plugin.

          Here is an example patch Data Array.zip

          So if you values change you will not receive an 1 until your values are the same. So if text from our file == text from our Sequential Trigger / Trigger Text you will receive an 1, but it first need to go back to zero again to receive an 1 again. If you want it to always output or the two are equal to each other when you receive a new value you can use notify = always, this will do the check every single time a new value is received.

          Isadora 3.1.1, Dell XPS 17 9710, Windows 10
          Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
          Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

          1 Reply Last reply Reply Quote 1
          • A
            A3SH last edited by

            Hi Juriaan,

            Thanks a lot! This was exactly what i was looking for. :)

            Lenovo Legion Y540, Windows 10, core i7 9th generation, 16 gig ram, Nvidia RTX 2060 graphics card and Isadora version 3.08b57

            1 Reply Last reply Reply Quote 0
            • First post
              Last post