running maxscript commands by simply selecting an object...
Is it possible to run maxscript commands simpy by selecting/clicking on an object in the scene.
i.e. I've got a GUI of various sliders for a face controlled with morph targets and bones.
Some of the sliders have a range of -5 to 5. If I want to make the value of the slider exactly 0 in the middle, I have to be in "Parent" coordinate space and the right click on the spinners to the left of the keyframe button in Max. Not a big deal for me, but not as simple as I want to provide for my client.
What would be great, is to have a little box in the GUI, just a little 2 triangle square plane... that when selected, re-sets the slider back to 0 automatically.
I know this is certainly doable by going through and creating custom attribute driven rollouts under the command panel, but I'm really trying to keep the clients workflow directly in the workview, etc.
Any ideas would be greatly appreciated!