<?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: Display Script Operator in Pflow?  How? in 3ds Max Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6922726#M64222</link>
    <description>&lt;P&gt;also if you want to see the particles fly out as per Standard Flow you can comment out the script like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i in 1 to count do&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleIndex = i&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleFloat = length(pCont.particleSpeed)*4800&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if length(pCont.particleSpeed) &amp;gt; slowSpeed then -- slow it down&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed -= dragCoef*timeDif*pCont.particleSpeed&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;newLen = length(pCont.particleSpeed)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if newLen &amp;gt; verySlowSpeed then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed = pCont.randDivergeVector(pCont.particleSpeed)(divAngle/(160*newLen))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed = pCont.randDivergeVector(pCont.particleSpeed)(180.0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if length(pCont.particleSpeed) &amp;lt; 1.5*slowSpeed then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if pCont.particleID &amp;lt; 50 then -- first 50 particles to left if slow enough&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed += [-0.005*timeDif, 0, 0]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else -- particles after 50 to right if slow enough&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed += [0.005*timeDif, 0, 0]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;)*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it doesn't follow the 'turb' in the supplied script, you can delete some more bits above it as well but I thought, nah...might as well leave it in there to play around with...&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2017 06:10:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-06T06:10:59Z</dc:date>
    <item>
      <title>Display Script Operator in Pflow?  How?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919402#M64218</link>
      <description>Can someone explain how to get the Display Script Operator in Pflow show a value?



I tried using the default script operator and then tried copy/pasting the line from the max help on Display Script -- "pCont.particleFloat = length(pCont.particleSpeed)*4800" in numerous places in the script and it never worked.</description>
      <pubDate>Fri, 03 Mar 2017 17:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919402#M64218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T17:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display Script Operator in Pflow?  How?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919647#M64219</link>
      <description>&lt;P&gt;I think your syntax doesn't read well by 3ds max, or it was error.&lt;/P&gt;
&lt;P&gt;don't use syntax, if you don't know max script&lt;/P&gt;
&lt;P&gt;use particle View.. 3ds max have alot stuffs for PF&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;goodluck !!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edited by&lt;BR /&gt;Discussion_Admin&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 07:48:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919647#M64219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T07:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Display Script Operator in Pflow?  How?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919890#M64220</link>
      <description>&lt;P&gt;The syntax is directly copied from the max help file so it should be correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know maxscript to some extent --- but not as it relates to PFlow.&amp;nbsp; I wanted to experiment but I can't even get the Display Script to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:21:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919890#M64220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T20:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display Script Operator in Pflow?  How?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6922671#M64221</link>
      <description>&lt;P&gt;OMG, there is so much BS and spam coming out of BlackParasite's &lt;SPAN&gt;derrière&lt;/SPAN&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Anonymous,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;01) just create a Standard Flow for playing purposes&lt;/P&gt;&lt;P&gt;02) add a Script Operator to the bottom&lt;/P&gt;&lt;P&gt;03) add a Display Script to the bottom, set Show Script Data to Float&lt;/P&gt;&lt;P&gt;04) in Script Operator, Edit script&lt;/P&gt;&lt;P&gt;05) add the command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pCont.particleFloat = length(pCont.particleSpeed)*4800&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just below pCont.particleIndex = i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;don't change anything else, unless you know what you are doing...otherwise, Oleg might kill you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now at this stage, you'd still see a bunch of ??? flying around...what's missing ? Love...ALOT of love !!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well here's the secret ingredient, near the top, find the line pCont.useSpeed = true, copy and paste below it, then change it to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; pCont.useFloat = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why&amp;nbsp; ? because remember we set it to Float in step 03...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And there you are, do you feel like John Nash right now ?....oh yeah...did you subscribe to BlackParasite ? I'm sure he doesn't spam...noooooooo...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 04:39:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6922671#M64221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T04:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display Script Operator in Pflow?  How?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6922726#M64222</link>
      <description>&lt;P&gt;also if you want to see the particles fly out as per Standard Flow you can comment out the script like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i in 1 to count do&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleIndex = i&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleFloat = length(pCont.particleSpeed)*4800&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if length(pCont.particleSpeed) &amp;gt; slowSpeed then -- slow it down&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed -= dragCoef*timeDif*pCont.particleSpeed&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;newLen = length(pCont.particleSpeed)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if newLen &amp;gt; verySlowSpeed then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed = pCont.randDivergeVector(pCont.particleSpeed)(divAngle/(160*newLen))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed = pCont.randDivergeVector(pCont.particleSpeed)(180.0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if length(pCont.particleSpeed) &amp;lt; 1.5*slowSpeed then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if pCont.particleID &amp;lt; 50 then -- first 50 particles to left if slow enough&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed += [-0.005*timeDif, 0, 0]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else -- particles after 50 to right if slow enough&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCont.particleSpeed += [0.005*timeDif, 0, 0]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;)*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it doesn't follow the 'turb' in the supplied script, you can delete some more bits above it as well but I thought, nah...might as well leave it in there to play around with...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 06:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6922726#M64222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T06:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Display Script Operator in Pflow?  How?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6925464#M64223</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The useFloat was what I needed.&amp;nbsp; I think Adesk should mention that critical line in the docs for Display Script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 02:29:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6925464#M64223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-07T02:29:23Z</dc:date>
    </item>
  </channel>
</rss>

