Sitni Sati Forums
FFX 2.0a Simple Source FuelType via MXS - Printable Version

+- Sitni Sati Forums (https://forum.afterworks.com)
+-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4)
+--- Forum: FumeFX [max] (https://forum.afterworks.com/forumdisplay.php?fid=8)
+--- Thread: FFX 2.0a Simple Source FuelType via MXS (/showthread.php?tid=1066)



FFX 2.0a Simple Source FuelType via MXS - jrand - 09-06-2010

Another issue, can you please confirm

If I create a simple source via maxscript, the fuel type returns blank even though I call for set with fuelType:2

Code:
Simple_Src pos:[0,0,0] isSelected:on size1:10.0 Size2:10.0 Size3:10.0    \
    SourceActive:on    \
    Shape:0    \
    Type:0    \
    Fueltype:2    \ --This seems to be broken
    Fuel:30.0     \
    TempType:2     \
    Temperature:300.0    \
    SmokeType:2    \
    SmokeDensity:2.0

Just seems something is mixed up.

If I check in the listener with $.fuelType it returns the value of 30 which happens to be the fuel amount that I set, instead of the integer value 0-2 for fuel type, none/add/set. TempType and SmokeType seem to be fine.


Re: FFX 2.0a Simple Source FuelType via MXS - sitnisati - 09-07-2010

Joys of MXS Smile
I guess it assumes that Fuel is fuelType, so I have changed now Fuel to FuelAmount
and it works as expected.

Thanks for report !

Kresimir


Re: FFX 2.0a Simple Source FuelType via MXS - jrand - 09-08-2010

sitnisati Wrote:...so I have changed now Fuel to FuelAmount
and it works as expected.

Excellent thank you! Big Grin

That had me running circles of confusion :lol:


Re: FFX 2.0a Simple Source FuelType via MXS - sitnisati - 09-09-2010

I had one similar report a year ago and took me a while to figure that MXS somehow can truncate parameter names.
This time it was easy to spot it Smile

Kresimir