Putting a slider value in to a morpher value

Hi all!

I have a slider manipulator that i want the value of to change the value of a morpher.

Here's my code

sliderManipulator name: "sld1" xPos:0.217586 yPos:0.902287 isSelected:on

on sld1 changed .value do
(
$sphere01.morpher [1] .value = sld1 .value
)
)

createDialog test

When I slide the slider the morpher value doesn't change. What have i done wrong?

Comments

Comment viewing options

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

Forgive my ignorance!

Please forgive my ignorance but how have you answered my question?

Are you saying there is no way to script this? Or are you just telling me to use wiring parameters to achieve it? I don't want to manually wire parameters, I want my script to do it automatically for me.

Sorry but I am confused by your answers!

Cheers.

Script_Butler

Anubis's picture

hmm...

I think i talk readable english.
As you want manipulator then you not need rollout. This i repeat for 3th time. Where i said its not scriptable? Yeah, i have not time to write the wire-param part for you. Search in the help and/or the forum and you'll find info about.

Cheers!

my recent MAXScripts RSS (archive here)

Script_Butler's picture

No problem.

I'm still none the wiser! Sorry.

I'm sure i'll figure it out somehow. The main problem is trying to search for the right tihng. I've tried searching maxscript help and on here but find nothing and i'm such a beginner that i struggle to know exactly what i need to type.

It's a nightmare.

Thanks for trying to help though, i appreciate it.

Cheers.

Script_Butler

Anubis's picture

OK

Search in the help for paramWire.

my recent MAXScripts RSS (archive here)

Anubis's picture

well... i already answer then

you not need rollout dialog for sliderManipulator

my recent MAXScripts RSS (archive here)

Script_Butler's picture

Hi Anubis. Have a look at

Hi Anubis.

Have a look at this link http://area.autodesk.com/forum/autodesk-3ds-max/rigging/help-morpher-in-...

I want to achieve this, but replacing the slider with a slider manipulator.

Does that make sense?

Cheers.

Cheers.

Script_Butler

Anubis's picture

Hi

Somehow i not catch the idea here. The sliderManipulator is a Helper, ie scene object and not a UI-Controller (like button for ex.). You can wire what you like to this slider without extra rollout dialogs.

my recent MAXScripts RSS (archive here)

Comment viewing options

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