Can you pick the error in script?

I have been trying to get maxscript to set up reaction controllers for the X position of a spline object to control a morph on another object.
I tested out some elementary script on a sphere which has a morph called Sphere02.
However when I run it, the listener throws
an 'unknown property : modifed object' error when I run it.
Can you tell me why?
I have tried all possible variations of objects and naming conventions but it always give me one error or another.

cont = Sphere01.Transform.postionXYZ.posX
reactTo cont Sphere01.Modified Object.Morpher.[1]Sphere02

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ofer Zelichover's picture

Hi, try this: cont =

Hi,

try this:

cont = Sphere01.Transform.postionXYZ.posX.controller
reactTo cont Sphere01.Modified Object.Morpher.[1]Sphere02

 

(I'm don't have max available at the moment, so I can't check this)

 

Cheers,

o

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.