PDA

View Full Version : scriptNode demand


twidup
08-04-2003, 09:48 AM
so, how exactly is this used? like if I want it to open an interface for the character, is it possible to execute the script from a command?

galactor
08-04-2003, 11:01 PM
If the MEL script that defines the interface is in the script folder, it will be possible. And your command should call for a global procedure.

:: Galactor ::

mark_wilkins
08-05-2003, 01:21 AM
You can use a script node to embed the UI for a character in the character's scene file. This might be useful if you wish to make sure that the UI script version and the character's stay in sync.

One way to do this is to define a global procedure in the script node, set the script node to execute on open (which will NOT run the global procedure, just define it), and then have your animators add a call to that global procedure to their shelves. Then, if the character's loaded (say, referenced into their scene) they can click on the shelf button and get the UI.

-- Mark

twidup
08-05-2003, 02:54 AM
sweet...that makes sense...really clear and pretty obvious...oh well, long hours cloud my mind some days.

Thanks Galactor and Mark...you both are a huge help and I really appreciate the assist on this.

-Todd

CGTalk Moderation
01-15-2006, 07:00 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.