<?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: random script problem in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5564422#M15511</link>
    <description>Hi jeziorsk.jakub, thank you for reply, i have solved by put "zero" for the minimum value, don't know why cannot set minimum value to 1500....&lt;BR /&gt;&lt;BR /&gt;my idea for the script is i want to limit the minimum and maximum range in between 1500 and 3000, but it not work?? any idea??</description>
    <pubDate>Tue, 31 Mar 2015 02:31:00 GMT</pubDate>
    <dc:creator>jackietsteh</dc:creator>
    <dc:date>2015-03-31T02:31:00Z</dc:date>
    <item>
      <title>random script problem</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5551890#M15509</link>
      <description>&lt;P&gt;Hi guys, i have problem with my random script, hoping someone can help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have create 2 spinners ( 1 spinner for set minimum value, 1 spinner for set maximum value) and 1 button for click to process in my rollout, when i set 1500 for minimum value and 3000 for maximum value and press the button, it work! except the random is incorrect, some value are below 1500, and some are above 3000??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i make the random value according or in between the range value?(in this example in between 1500 to 3000 ) and not below it or above it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry about my poor english.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jackie&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2015 02:12:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5551890#M15509</guid>
      <dc:creator>jackietsteh</dc:creator>
      <dc:date>2015-03-22T02:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: random script problem</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5552532#M15510</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what are you using but random() should do the trick.&lt;/P&gt;&lt;P&gt;From documentation:&lt;/P&gt;&lt;P&gt;random &amp;lt;number&amp;gt; &amp;lt;number&amp;gt;&lt;/P&gt;&lt;P&gt;Returns a pseudo random number inclusively between the two arguments. Return value type is the type of the first argument.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 05:12:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5552532#M15510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T05:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: random script problem</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5564422#M15511</link>
      <description>Hi jeziorsk.jakub, thank you for reply, i have solved by put "zero" for the minimum value, don't know why cannot set minimum value to 1500....&lt;BR /&gt;&lt;BR /&gt;my idea for the script is i want to limit the minimum and maximum range in between 1500 and 3000, but it not work?? any idea??</description>
      <pubDate>Tue, 31 Mar 2015 02:31:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5564422#M15511</guid>
      <dc:creator>jackietsteh</dc:creator>
      <dc:date>2015-03-31T02:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: random script problem</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5564566#M15512</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot replicate it. This line&lt;/P&gt;&lt;PRE&gt;random 1500 3000&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;gives me strictly values in [1500, 3000] range. Maybe values you pass are not valid?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 06:47:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/random-script-problem/m-p/5564566#M15512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-31T06:47:36Z</dc:date>
    </item>
  </channel>
</rss>

