• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    [ANSWERED] How to properly reset the current value of an Counter actor.

    How To... ?
    3
    3
    144
    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.
    • T
      thatmattrogers last edited by Juriaan

      I've got a patch where I'm switching between sources in time with a piece of music.

      It's pretty simple I have a counter that starts at 1 and ends at 4 which is connected to a selector with 4 inputs. there are timed triggers that use comparators against the playhead on the sound player set to add one to the counter every time I want it to change.

      It works pretty well (once I've changed the sound players position from a percentage to the duration of the track - that one confused me for a little bit) except that the counter doesn't seem to reset to "1" every time I return to the scene so I can't predict which video feeds will be active at each cue.

      So, how do I get a counter to reset to "1" when I enter a scene?


      I'm running Isadora 3 on Win10
      Machine 1- AMD 1700x 8 core CPU, 32GB RAM, and an AMD Radeon RX580 GPU
      Machine 2 -AMD 5900HX , 8 Core APU, 16GB Ram and an integrated GPU

      Michel 1 Reply Last reply Reply Quote 0
      • Michel
        Michel Izzy Guru @thatmattrogers last edited by

        @thatmattrogers

        Best is if you set the initialize value of the "cur value" input to 0 then the next click will output a 1. 

        Best Michel

        Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

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

          Hi there @thatmattrogers, 

          If you wish to set your values when you enter your scene you can either use;

          - A 'Enter Scene Trigger' with a Trigger value, connect that to the inputs that you wish to reset.

          Or

          - Use the initialize functionality of an Actor input. In general this is cleaner then using the above method, see our KB article explaining some differences if you work with Media inputs.

          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
          • First post
            Last post