<?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 Re: how to change camera in basic project F2mode by using player_hud UI in Stingray Forum (Read Only)</title>
    <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6383973#M5070</link>
    <description>&lt;P&gt;hello paul&lt;/P&gt;&lt;P&gt;thank you for the advice,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried with the video, but this time i am using the camera which is spawned and&amp;nbsp;moves&amp;nbsp;with the "character"(in basic project F2mode)&amp;nbsp;&lt;/P&gt;&lt;P&gt;so can i reposition the character in lua? &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2016 05:44:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-15T05:44:02Z</dc:date>
    <item>
      <title>how to change camera in basic project F2mode by using player_hud UI</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6317012#M4677</link>
      <description>&lt;P&gt;hello &amp;nbsp;i am trying to change the camera position in basic project F2mode by useing player_hud UI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i set two button, one is for camera1 and another is for camera3 in template_hud.2sd&amp;nbsp;&lt;/P&gt;&lt;P&gt;i changed each handler.lua like this&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238149iC50F07F66F697080/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="1.png" title="1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then i added lines in PlayerHud.lua&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238150i2FCB448DC2A9C318/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="2.png" title="2.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238151iDB41911B592D2D49/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="3.png" title="3.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i added checking function in player.lua&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238152iACE1826D2FA4380C/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="4.png" title="4.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238153i148A15E9A6209CF4/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="5.png" title="5.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like above, i tried to move charactor which is set to move with camera.&lt;/P&gt;&lt;P&gt;but i got the error about unit_index&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/238154i0C8895EB84462ED8/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="6.png" title="6.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can know something wrong with player.lua, i hope if someone can give an advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 02:21:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6317012#M4677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-10T02:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to change camera in basic project F2mode by using player_hud UI</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6380610#M5058</link>
      <description>&lt;P&gt;Take a look atthis video, see if it helps you. &amp;nbsp;It is a more straightforward way to do what I think you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lemme know if this works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=vHyoLSQ9jCk" target="_blank"&gt;https://www.youtube.com/watch?v=vHyoLSQ9jCk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:42:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6380610#M5058</guid>
      <dc:creator>paulkind</dc:creator>
      <dc:date>2016-06-13T15:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to change camera in basic project F2mode by using player_hud UI</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6383973#M5070</link>
      <description>&lt;P&gt;hello paul&lt;/P&gt;&lt;P&gt;thank you for the advice,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried with the video, but this time i am using the camera which is spawned and&amp;nbsp;moves&amp;nbsp;with the "character"(in basic project F2mode)&amp;nbsp;&lt;/P&gt;&lt;P&gt;so can i reposition the character in lua? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 05:44:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6383973#M5070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-15T05:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to change camera in basic project F2mode by using player_hud UI</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6385221#M5076</link>
      <description>&lt;P&gt;I am not the best lua guy in the world, but i can show you how to do it with flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open up the character unit and go into its flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In there you can use Set Mover Position&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the example below t is as simple as it gets but shows that it is as easy as that. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/247886i26AA3B9B730CF870/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="move chracter.PNG" title="move chracter.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would just need to get the messages from scaleform to set the mover position to the location(s) of your choosing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Working from my tutorial, you can see how i have adjusted the level flow here... &amp;nbsp;(basically just removed stuff)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/247892i422CF4161C69306C/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="levelflow_initialize.PNG" title="levelflow_initialize.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then i just call the scaleform events within the unitflow as i did above.... &amp;nbsp;only now im pointing the buttons to the locations instead of using a simple mouseclick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/247893i2FAD6F7CB1C3AAA9/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="unitFlow_sf.PNG" title="unitFlow_sf.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:56:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6385221#M5076</guid>
      <dc:creator>paulkind</dc:creator>
      <dc:date>2016-06-15T15:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to change camera in basic project F2mode by using player_hud UI</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6386361#M5083</link>
      <description>&lt;P&gt;hello paul&lt;/P&gt;&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;&lt;P&gt;thank you very much for the description,&lt;/P&gt;&lt;P&gt;i could understand how to set it with flow.&lt;/P&gt;&lt;P&gt;i will try that way&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:29:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-change-camera-in-basic-project-f2mode-by-using-player-hud/m-p/6386361#M5083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T01:29:11Z</dc:date>
    </item>
  </channel>
</rss>

