<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Stingray Events System and Mechanism? in Stingray Forum (Read Only)</title>
    <link>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/5998622#M3161</link>
    <description>&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/212756i7F02FF0E57C981E7/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="stingray events system and .jpg" title="stingray events system and .jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;What i want is to custom my own events for a given game unit, how to define,fire/dispatch,and listen to my own custom events in stingray?&lt;BR /&gt;&lt;BR /&gt;Seems that events&amp;nbsp;is not a core class for stingray ,and the stingray.Events is only an&amp;nbsp;&lt;SPAN&gt;Interface to access firing events on xbox one?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2016 03:44:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-21T03:44:47Z</dc:date>
    <item>
      <title>Stingray Events System and Mechanism?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/5998622#M3161</link>
      <description>&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/212756i7F02FF0E57C981E7/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="stingray events system and .jpg" title="stingray events system and .jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;What i want is to custom my own events for a given game unit, how to define,fire/dispatch,and listen to my own custom events in stingray?&lt;BR /&gt;&lt;BR /&gt;Seems that events&amp;nbsp;is not a core class for stingray ,and the stingray.Events is only an&amp;nbsp;&lt;SPAN&gt;Interface to access firing events on xbox one?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 03:44:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/5998622#M3161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T03:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Stingray Events System and Mechanism?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/6000352#M3186</link>
      <description>&lt;P&gt;Hi Woogway,&lt;BR /&gt;&lt;BR /&gt;There isn't really a centralized event queue per se. Typically Stingray games use Unit Flow or Level Flow as a hub to handle responding to event triggers. &lt;BR /&gt;&lt;BR /&gt;You can fire a named event for a given &lt;STRONG&gt;unit&lt;/STRONG&gt; either in a Unit Flow graph or Level Flow graph (using the Unit &amp;gt; Unit Flow Event node), or in your Lua code (using the stingray.Unit.flow_event() function). A unit flow event like this is a named event that occurs only for a particular unit instance. If that unit's flow graph contains an External &amp;gt; External In Event node with a matching name, the unit's flow graph will begin evaluating at that node.&lt;BR /&gt;&lt;BR /&gt;You can also fire &lt;STRONG&gt;level&lt;/STRONG&gt; events from Flow (using the External &amp;gt; Level Event node) or from Lua (using the stingray.Level.trigger_event() function). If the level's flow graph contains an External &amp;gt; External In Event node with a matching name, the level flow graph will begin evaluating at that node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 21:27:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/6000352#M3186</guid>
      <dc:creator>_robbs_</dc:creator>
      <dc:date>2016-01-21T21:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stingray Events System and Mechanism?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/6001496#M3204</link>
      <description>&lt;P&gt;Hi robbs,thanks for reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;seems that, it's tough to&amp;nbsp;define, fire,listen and handle events totally by lua,we must rely on stingray flow node(level/unit)&amp;nbsp;to do that,right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 15:51:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/6001496#M3204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-22T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stingray Events System and Mechanism?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/6001563#M3206</link>
      <description>&lt;P&gt;There isn't a built-in event manager component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, since you're looking for something that stays fully in Lua, you should be able to implement one or integrate a third-party module quite easily. A quick search turned up this module:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/ejmr/Luvent" target="_blank"&gt;https://github.com/ejmr/Luvent&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which seems to offer the kind of interface you're looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 15:57:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/stingray-events-system-and-mechanism/m-p/6001563#M3206</guid>
      <dc:creator>_robbs_</dc:creator>
      <dc:date>2016-01-22T15:57:50Z</dc:date>
    </item>
  </channel>
</rss>

