PDA

View Full Version : Linking Maxscript to a custom attribute?


ArchDragon
11-12-2009, 05:35 AM
Hi Guys,

Been through a few of the threads trying to find out if this is possible, and although there's some great stuff I haven't found anything that seems as simple as what I'm trying to do.

Basically I have a controller with a on/off button assigned to it's custom attributes.
I'd now like to hook this boolean operation up to two different MaxScripts. When the button is on it runs one, when I turn it off it runs another.

Sounds simple enough but in practice I'm having a little more trouble. Any tips?

Cheers,

Jamie.

PEN
11-12-2009, 12:04 PM
You need to write your CA def by hand and not use the Attribute Editor and then in the event handler for the check button call the scripts using fileIn that you need to run.

ArchDragon
11-12-2009, 09:15 PM
:( I was worried you'd say something like that. So much for an easy hookup. Never to mind, still doesn't sound tooo complicated.

Thanks for the feedback ;)

CGTalk Moderation
11-12-2009, 09:15 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.