PDA

View Full Version : Camera Change Scriptjpb?


drmerman
12-05-2006, 03:52 PM
Hey guys. I'm looking to run a command every time the user changes cam view (eg. from one perspective cam to another.) I've looked through the scriptjob helpfile, but can't see anything that could help me with this.

Has anybody got any ideas? They'd be very much appreciated :D

Cheers,
Dr Merman

brubin
12-05-2006, 05:11 PM
hi,

when i use the panel-menu and select "perspective|persp" (for example), or "look through selected", then the "repeat"-menuItem in the Edit-menu changes, which is a queryable scriptJob-condition-change for "RecentCommandChanged".

i would take it from there.
another command that could help here is "condition": you can actually create your own named conditions, and you can make scriptJob watch over the condition status.

HIH
s.

drmerman
12-05-2006, 06:44 PM
Thanks brubin. I hadn't come across the condition command before. Really very useful.

Cheers,
Dr Merman

brubin
12-05-2006, 07:22 PM
well,
if you come up w/ a useful script containing a scriptJob and a named condition of your own design, let's see it, will ya'?
i'd be interested to see that!
cheers,
s.

CGTalk Moderation
12-05-2006, 07:22 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.