ScriptSpot

Forum topic · General Scripting

Can you pick the error in script?

By floatingworld · 2008-05-15

Description

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 (1)

Ofer Zelichover · 2008-05-23

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