<?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[Set and Get Global Values with triggers]]></title><description><![CDATA[<p>I am using Set and Get Global Values for sending/receiving numbers between hundreds of user actors. This works very well, but I would like to send triggers also. When I use the Set and Get Global Values actors to send/receive only one item(a trigger), it works sometimes. Is there anyway I can transmit a trigger reliably with Set and Get Global Values, or must I use the Broadcaster-Listener actors? I prefer the Set and Get Global Values because I can name what is being sent, making it easier to organize a large number of values.
  </p> <p>I have already read an older discussion on this topic here:<span></span></p><p><a href="https://community.troikatronix.com/topic/2628/how-to-make-global-values-actors-play-nice-with-triggers">https://community.troikatronix.com/topic/2628/how-to-make-global-values-actors-play-nice-with-triggers</a> 
</p><p>thank you,
  </p>
<p>Don
      </p>]]></description><link>https://community.troikatronix.com/topic/4887/set-and-get-global-values-with-triggers</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 09:25:10 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/4887.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Dec 2017 03:26:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 23:42:26 GMT]]></title><description><![CDATA[<p>great, thank you Mark.</p><p>all the best,<br />Don<br /></p>]]></description><link>https://community.troikatronix.com/post/28392</link><guid isPermaLink="true">https://community.troikatronix.com/post/28392</guid><dc:creator><![CDATA[dritter]]></dc:creator><pubDate>Thu, 14 Dec 2017 23:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 16:45:02 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a> said:</p>
<blockquote>Out of curiosity (for my own work) is sending a longish text string rather than numerous values likely to be less costly?</blockquote>
<p>No, it really wouldn't matter. And for most uses it's fine. It's just hooking up something like an Envelope Generator to a Set Global Values with 100 inputs wouldn't be a good idea.</p><p>Best,<br />M</p>]]></description><link>https://community.troikatronix.com/post/28385</link><guid isPermaLink="true">https://community.troikatronix.com/post/28385</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Thu, 14 Dec 2017 16:45:02 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 15:59:51 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a></p>
<p>Out of curiosity (for my own work) is sending a longish text string rather than numerous values likely to be less costly?</p><p>The text would be the values as json, so the length is related to the number of values.</p>]]></description><link>https://community.troikatronix.com/post/28383</link><guid isPermaLink="true">https://community.troikatronix.com/post/28383</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 14 Dec 2017 15:59:51 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 10:45:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/68">@dritter</a> </p><p>Keep this important point in mind: while you can use the Set/Get Global Values actors like a Broadcaster/Listener pair, it's not a super good idea to do so. Every time you change even one value (and that includes the new trigger value), <u><em>every item</em></u> in the Set Global Values actor is sent to the any Get Global Values actor in the same scene. If you have a really long list of values, that might become computationally expensive.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/28377</link><guid isPermaLink="true">https://community.troikatronix.com/post/28377</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Thu, 14 Dec 2017 10:45:24 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 09:12:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/68">@dritter</a> said:</p>
<blockquote>Mark, I just created a patch that sends triggers using Set and Get Values, but if I save and close the patch, it will not send triggers when it is reopened</blockquote>
<p> Recreated and fixed for the v2.6 release, which is very soon.</p><p>Best,<br />M</p>]]></description><link>https://community.troikatronix.com/post/28373</link><guid isPermaLink="true">https://community.troikatronix.com/post/28373</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Thu, 14 Dec 2017 09:12:39 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 08:49:33 GMT]]></title><description><![CDATA[<p>Try and enter scene trigger actor. </p>]]></description><link>https://community.troikatronix.com/post/28372</link><guid isPermaLink="true">https://community.troikatronix.com/post/28372</guid><dc:creator><![CDATA[Skulpture]]></dc:creator><pubDate>Thu, 14 Dec 2017 08:49:33 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 05:00:49 GMT]]></title><description><![CDATA[<p>Mark, I just created a patch that sends triggers using Set and Get Values, but if I save and close the patch, it will not send triggers when it is reopened. This is only happening with triggers, but everything is fine with text and numbers. <br /></p><p>all the best,<br />Don<br /></p>]]></description><link>https://community.troikatronix.com/post/28365</link><guid isPermaLink="true">https://community.troikatronix.com/post/28365</guid><dc:creator><![CDATA[dritter]]></dc:creator><pubDate>Thu, 14 Dec 2017 05:00:49 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 04:46:02 GMT]]></title><description><![CDATA[<p>Thank you Mark, the problem I have is that an original pair of Set and Get actors will work, but if these actors are copied and their Set and Get names changed, such as triggertest being changed to triggertest2, the GetGlobal Values actor will not receive.  Please see attached.</p><img src="/assets/uploads/files/1513226681738-screen-shot-2017-12-13-at-11.39.12-pm-resized.png" /><p>thank you</p><p>Don</p><p><a href="/assets/uploads/files/1513226705753-getvalues-test.izz">getvalues-test.izz</a><br /></p>]]></description><link>https://community.troikatronix.com/post/28364</link><guid isPermaLink="true">https://community.troikatronix.com/post/28364</guid><dc:creator><![CDATA[dritter]]></dc:creator><pubDate>Thu, 14 Dec 2017 04:46:02 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Thu, 14 Dec 2017 03:42:56 GMT]]></title><description><![CDATA[<p>Oops. I stand corrected. ☺</p>]]></description><link>https://community.troikatronix.com/post/28362</link><guid isPermaLink="true">https://community.troikatronix.com/post/28362</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 14 Dec 2017 03:42:56 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Wed, 13 Dec 2017 17:34:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a> said:</p>
<blockquote>you can treat triggers as boolean.  (Which they are).</blockquote>
<p> Well, that's not exactly true. A trigger always sends a '1'... it is the act of transmission that signals the trigger. A trigger will never send a 0. So a comparator won't actually work.</p><p>That said, my tests show you can send triggers through the get/set global values actor. This setup works fine:</p><img src="/assets/uploads/files/1513186447704-global-trigger.png" /><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/28349</link><guid isPermaLink="true">https://community.troikatronix.com/post/28349</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Wed, 13 Dec 2017 17:34:10 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Mon, 31 Jan 2022 17:13:03 GMT]]></title><description><![CDATA[<p><del>you can treat triggers as boolean.  (Which they are).</del></p>
<p><del>1 = trigger</del></p>
<p><del>0 = at rest (no trigger)</del></p>
<p><del>I think a comparator will test a trigger against a value (not at my machine right now)</del></p>]]></description><link>https://community.troikatronix.com/post/28347</link><guid isPermaLink="true">https://community.troikatronix.com/post/28347</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Mon, 31 Jan 2022 17:13:03 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Wed, 13 Dec 2017 06:21:11 GMT]]></title><description><![CDATA[<p>ok, thank you Bonemap<br /></p>]]></description><link>https://community.troikatronix.com/post/28333</link><guid isPermaLink="true">https://community.troikatronix.com/post/28333</guid><dc:creator><![CDATA[dritter]]></dc:creator><pubDate>Wed, 13 Dec 2017 06:21:11 GMT</pubDate></item><item><title><![CDATA[Reply to Set and Get Global Values with triggers on Wed, 13 Dec 2017 04:44:24 GMT]]></title><description><![CDATA[<p>Hi, </p>
<p>you could build user actors with the Broadcaster and Listener actors that allow you to use custom names for broadcast triggers. That appears to be the general advice on this issue.</p>
<p>I have seen some discussion about enabling more actors to have customisable naming of inputs and outputs. However, I do not think that this feature request has made it into the next release 2.6.</p>
<p>Best wishes</p>
<p>Bonemap </p>]]></description><link>https://community.troikatronix.com/post/28332</link><guid isPermaLink="true">https://community.troikatronix.com/post/28332</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Wed, 13 Dec 2017 04:44:24 GMT</pubDate></item></channel></rss>