• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FFX 2.0a Simple Source FuelType via MXS
#1
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.
  Reply
#2
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
  Reply
#3
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:
  Reply
#4
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
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)