<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ANSWERED] How to properly reset the current value of an Counter actor.]]></title><description><![CDATA[<p>I've got a patch where I'm switching between sources in time with a piece of music.<br /></p>
<p>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.<br /><br />It works pretty well <em>(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) </em>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.<br /></p>
<p>So, how do I get a counter to reset to "1" when I enter a scene?</p>]]></description><link>https://community.troikatronix.com/topic/7639/answered-how-to-properly-reset-the-current-value-of-an-counter-actor</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 07:46:11 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/7639.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Oct 2021 15:12:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ANSWERED] How to properly reset the current value of an Counter actor. on Thu, 28 Oct 2021 17:14:19 GMT]]></title><description><![CDATA[<p>Hi there <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2538">@thatmattrogers</a>, </p><p>If you wish to set your values when you enter your scene you can either use;</p><p>- A 'Enter Scene Trigger' with a Trigger value, connect that to the inputs that you wish to reset.</p><p>Or</p><p>- Use the initialize functionality of an Actor input. In general this is cleaner then using the above method, see our <a href="https://support.troikatronix.com/support/solutions/articles/13000029774-use-the-initialize-feature-instead-of-enter-scene-value-to-initialize-media-inputs">KB article</a> explaining some differences if you work with Media inputs. <br /></p>]]></description><link>https://community.troikatronix.com/post/47444</link><guid isPermaLink="true">https://community.troikatronix.com/post/47444</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Thu, 28 Oct 2021 17:14:19 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] How to properly reset the current value of an Counter actor. on Thu, 28 Oct 2021 15:29:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2538">@thatmattrogers</a></p><p>Best is if you set the initialize value of the "cur value" input to 0 then the next click will output a 1. </p><img src="/assets/uploads/files/1635434975605-bildschirmfoto-2021-10-28-um-17.28.18.png" /><p>Best Michel</p>]]></description><link>https://community.troikatronix.com/post/47440</link><guid isPermaLink="true">https://community.troikatronix.com/post/47440</guid><dc:creator><![CDATA[Michel]]></dc:creator><pubDate>Thu, 28 Oct 2021 15:29:39 GMT</pubDate></item></channel></rss>