3DS MAX: 3ds Max Forum 3ds Max Tutorials

Maxscript Unable to Convert Type to Float

COW Forums : Autodesk 3ds Max

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Todd StopaMaxscript Unable to Convert Type to Float
by on Sep 11, 2013 at 12:53:10 am

oldvalue = me.value at time (F-1)
newvalue = me.value
if oldvalue >= newvalue
oldvalue + newvalue


It throws the error "unable to convert type undefined to type FLOAT".

If I remover the comparison at line 3 then it works just fine, but if I have that >= statement then it throws the error

I am having trouble accessing a value and if then ing that value

my question in demonstration and detail







Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]