Notifications
Clear all

[Closed] Adding Variables to Scripted Controllers. How?

In relation to script controllers… in max 6, say I have a sphere with a script controller which depends on another object, something like:


--script controller on sphere.radius
dependsOn $box01
$box01.height

now if I was to adjust the height of the box, the sphere’s radius is adjusting A-OK.

but, if I was to copy the sphere geometry to have 2 spheres (sphere01 & sphere02), then adjust the height of the box, it does NOT update. Is there a way to refresh or update the dependcies?

1 Reply
 PEN
(@pen)
Joined: 1 year ago

Posts: 0

Nope, you would have to change the code in the script controller your self. In Max 8 if you copied both objects it would update the dependancies for you.

aww… thanks paul :), now there’s an embuggerance for me…

(I actually looked up the word at dictionary.com) hehe

Page 2 / 2