{"id":1101,"date":"2017-11-04T09:36:55","date_gmt":"2017-11-04T15:36:55","guid":{"rendered":"http:\/\/artistedancediva.co.uk\/wp\/?page_id=1101"},"modified":"2021-02-17T19:19:53","modified_gmt":"2021-02-18T02:19:53","slug":"actions","status":"publish","type":"page","link":"https:\/\/artistedancediva.co.uk\/wp\/?page_id=1101","title":{"rendered":"Actions"},"content":{"rendered":"<p>An &#8220;action&#8221; is a<span style=\"color: #0000ff;\"><strong> palette-function<\/strong><\/span> associated with a move.\u00a0 The\u00a0<span style=\"color: #0000ff;\"><strong>palette-function<\/strong><\/span>\u00a0 can work against the <strong>same (issuing)<\/strong> palette (using &#8220;<span style=\"color: #ff0000;\"><strong>me<\/strong><\/span>&#8221; for the palette name) or a different palette. You can use the short-cut naming, i.e. <span style=\"color: #ff0000;\"><strong>01_B.\u00a0 <span style=\"color: #000000;\">It is sort of like having autofx commands inside a palette telling other palettes (or itself) what to do.<\/span><\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">Actions usually appear in front of the other entries in the *moves nc.<\/span><\/p>\n<p>Examples:<\/p>\n<p><span style=\"text-decoration: underline; color: #ff0000;\"><strong>\/* Assume this palette is called ArtistePalette_01_A<\/strong><\/span><\/p>\n<p><strong>Action,<span style=\"color: #ff0000;\">1<\/span>%<span style=\"color: #0000ff;\">0<\/span>%<span style=\"color: #008000;\">01_B<\/span>%color%<span style=\"color: #0000ff;\">blue<\/span><br \/>\n<\/strong><strong>Action,<span style=\"color: #ff0000;\">2<\/span>%<span style=\"color: #0000ff;\">2.5<\/span>%<span style=\"color: #008000;\">me<\/span>%color%<span style=\"color: #ff6600;\">orange<br \/>\n<\/span>Action<span style=\"color: #ff6600;\">,<span style=\"color: #ff0000;\">3<\/span><\/span>%<span style=\"color: #ff6600;\"><span style=\"color: #0000ff;\">0<\/span><\/span>%<span style=\"color: #ff6600;\"><span style=\"color: #008000;\">01_C<\/span><\/span>%scale%1.1<br \/>\n<\/strong><\/p>\n<p>\/* the<span style=\"color: #ff0000;\"><strong> red 1<\/strong> <strong>above<\/strong><\/span> associates the action with the 1st move below. So\u00a0 <strong>3<\/strong>\u00a0seconds\u00a0<strong>after<\/strong> the 1st move is executed, the Action associated with it, the <strong><span style=\"color: #ff0000;\">red 1 above<\/span><\/strong>, will turn a palette called<span style=\"color: #008000;\"><strong> 01_B <\/strong><\/span>the color <span style=\"color: #0000ff;\">BLUE<\/span>.<\/p>\n<p>\/* the\u00a0 <strong><span style=\"color: #ff0000;\">red 2 above<\/span><\/strong> associates the action with the 2nd move below. So\u00a0 <strong>1<\/strong> second\u00a0<strong>after<\/strong>\u00a0the\u00a0\u00a02nd move is executed, the Action associated with it, the\u00a0<strong><span style=\"color: #ff0000;\">red\u00a02 above<\/span><\/strong>,\u00a0 <strong>WILL DELAY<\/strong> for an <strong>additional<\/strong> <span style=\"color: #0000ff;\"><strong>2.5<\/strong><\/span> seconds and <strong>THEN<\/strong> will turn a palette called<span style=\"color: #008000;\"><strong>\u00a001_A\u00a0<\/strong><\/span>the color <strong><span style=\"color: #ff6600;\">orange<\/span><\/strong>.<\/p>\n<p>\/* the\u00a0\u00a0<strong><span style=\"color: #ff0000;\">red\u00a03 above<\/span><\/strong>\u00a0associates the action with the 3rd move below.<br \/>\nSo\u00a0\u00a0<strong>0.5<\/strong>\u00a0seconds\u00a0<strong>after<\/strong>\u00a0the 3rd\u00a0move is executed, the Action associated\u00a0with it, the\u00a0<strong><span style=\"color: #ff0000;\">red\u00a03\u00a0above<\/span><\/strong>, will\u00a0<strong>scale<\/strong> the palette called<span style=\"color: #008000;\"><strong> 01_C<\/strong> <\/span>by 10% larger.<\/p>\n<p>\/* Moves<br \/>\nDefaultMoveTime,3.0<br \/>\nIncludeRotations,off<br \/>\nMoveTimeAdjust,-0.1<br \/>\nPrimaryTurnAxis,z<br \/>\n\/*** Insert Here ***\/<br \/>\nInitialOffset,&lt;1,1,0&gt;,&lt;0,0,0,1&gt;<br \/>\nNoOfMoves<strong>,4<\/strong><br \/>\nM01_A_01,<strong><span style=\"color: #0000ff;\">3.000000<\/span><\/strong>,<strong><span style=\"color: #ff0000;\">&lt;0,0,0&gt;,&lt;0,0,0,1&gt;,none,0<\/span><\/strong><br \/>\nM01_A_02<strong>,<span style=\"color: #0000ff;\">1.000000<\/span>,<span style=\"color: #ff0000;\">&lt;0,0,0&gt;,&lt;0,0,0,1&gt;,none,0<br \/>\n<\/span><\/strong>M01_A_03<span style=\"color: #000000;\"><strong>,<\/strong><\/span><strong><span style=\"color: #0000ff;\">0<\/span><\/strong><span style=\"color: #ff0000;\"><strong><span style=\"color: #0000ff;\">.500000<\/span><span style=\"color: #000000;\">,<\/span>&lt;0,0,0&gt;,&lt;0,0,0,1&gt;,none,0<br \/>\n<\/strong><\/span>M01_A_04<span style=\"color: #ff0000;\"><strong><span style=\"color: #000000;\">,<\/span><span style=\"color: #0000ff;\">7<\/span><span style=\"color: #0000ff;\">.500000<\/span><span style=\"color: #000000;\">,<\/span><\/strong><\/span><span style=\"color: #ff00ff;\"><strong>&lt;<\/strong><strong>1,3,0&gt;,&lt;0,0,.707,.707&gt;<\/strong><\/span><strong>,<\/strong><strong>walk<\/strong><strong>,3.0<\/strong><br \/>\nEND<\/p>\n<p>You can create dummy-moves for the sole purpose of using actions as mini-events. Dummy moves have <span style=\"color: #ff0000;\"><strong>no movement<\/strong><\/span>\u00a0(<strong><span style=\"color: #ff0000;\">&lt;0,0,0&gt;,&lt;0,0,0,1&gt;)\u00a0<\/span><\/strong>but do have a <strong><span style=\"color: #0000ff;\">duration<\/span><\/strong>. The durations above are <strong><span style=\"color: #0000ff;\">3<\/span><\/strong> and <span style=\"color: #0000ff;\"><strong>1<\/strong> <strong>and 0.5<\/strong><\/span>, respectively.<\/p>\n<p>To execute all the actions\u00a0 you would simply use <strong>*autofx<\/strong> to execute the moves. Example:<\/p>\n<p><strong>1,r=p%01_A%<span style=\"color: #ff0000;\">move0<\/span><\/strong><\/p>\n<p>This will cause the\u00a03 actions associated with the\u00a04 moves to execute in succession.<\/p>\n<p>You could also, as always,\u00a0 execute a single move at a time or a range of moves.<\/p>\n<p>And of course you can further expand the powers of the actions by naming palettes the same and sending the same action to a group of same-named palettes. (<strong>Palette-Grouping).<\/strong><\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nNot only <strong>Palette-Grouping<\/strong> but<strong> Palette-Action-Chainin<\/strong>g in that the Palette you direct an action to could itself talk to 1 or more Palettes.<\/p>\n<p>Example:<\/p>\n<p><strong>Action,<span style=\"color: #ff0000;\">4<\/span>%0%<span style=\"color: #008000;\">02_D<\/span>%<span style=\"color: #ff0000;\">move0<br \/>\n<span style=\"color: #000000;\">Action,<span style=\"color: #ff0000;\">4<\/span>%0%<span style=\"color: #008000;\">02_E<\/span>%<span style=\"color: #ff0000;\">move0<\/span><\/span><\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">Imagine that palette<strong> <span style=\"color: #008000;\">02_D<\/span><\/strong> has <strong>10<\/strong> moves\u00a0 and<strong> <span style=\"color: #008000;\">02_E<\/span><\/strong> has <strong>15<\/strong> moves each with an associated action (10 actions and 15 actions respectively directed at\u00a0 a total of 25\u00a0more palettes).<br \/>\nThings could get laggy depending but you to see the creative\u00a0 possibilities and control are endless.<\/span><\/p>\n<p>Also note that we have <span style=\"color: #ff00ff;\"><strong>2 actions<\/strong><\/span> for a 4th move. The would both execute when triggered in succession from an *autfox command that included the 4th move. This sort of emulates multiple commands on an *autofx line.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>NOTE:the duration of the 3rd move is less than 1 second (<span style=\"color: #0000ff;\"><strong>0.5<\/strong><\/span>). You cannot have main events that are less than 1 second apart so this is a great\u00a0work-around and alternative to solving that issue when needed.<\/p>\n<p>NOTE: The moves don&#8217;t HAVE to be dummy moves.<\/p>\n<p>NOTE: Unlike *autofx, Actions can only have one command. No multiples delineated by &#8220;$&#8221; are allowed.<\/p>\n<p>NOTE: You don&#8217;t have to have an action for every move<\/p>\n<p>NOTE: We have effectively embedded about 30 mini-events under\u00a0 ONE main event using the above examples.<\/p>\n<p>************************************<\/p>\n<p>I just realized I had posted prior articled on Actions. You may find them helpful as well. Hear it again using different words.<\/p>\n<p><strong><a href=\"http:\/\/artistedancediva.co.uk\/wp\/?page_id=476\">Artiste Action<\/a><\/strong><\/p>\n<p>*****************************<\/p>\n<p><strong><a href=\"http:\/\/artistedancediva.co.uk\/wp\/?p=798\">Actions &#8211; (Mini-Events)<\/a><\/strong><\/p>\n<p>*****************************<\/p>\n<p><a href=\"http:\/\/artistedancediva.co.uk\/wp\/?p=458\"><span style=\"color: #008000;\"><strong>Proof Of Concept with Video<\/strong><\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An &#8220;action&#8221; is a palette-function associated with a move.\u00a0 The\u00a0palette-function\u00a0 can work against the same (issuing) palette (using &#8220;me&#8221; for the palette name) or a different palette. You can use the short-cut naming, i.e. 01_B.\u00a0 It is sort of like having autofx commands inside a palette telling other palettes (or itself) what to do. Actions &hellip; <a href=\"https:\/\/artistedancediva.co.uk\/wp\/?page_id=1101\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Actions<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/pages\/1101"}],"collection":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1101"}],"version-history":[{"count":18,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/pages\/1101\/revisions"}],"predecessor-version":[{"id":1234,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/pages\/1101\/revisions\/1234"}],"wp:attachment":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}