PDA

View Full Version : simple script question


yonathangz
12-14-2008, 09:32 PM
Hi everyone,

I'm looking for a function that returns a value of a node at a different time than the current time.
for example, my expression is $box01.position.x but I want its value five frames before.
I know in flame it's called eval() and in AE it's called valueAtTime(), and I'm sure there is a similiar function in max I just can't find.

Thanks,
Yonathan

SoLiTuDe
12-14-2008, 09:52 PM
at time 50f $.pos.x :D

yonathangz
12-15-2008, 04:55 AM
Thanks :)

(you meant f-5 right?)

Bobo
12-15-2008, 05:03 AM
Thanks :)

(you meant f-5 right?)

He did not. 50f means "frame 50". f alone means nothing unless it is a user variable.
So f-5 makes no sense unless you assigned f=currentTime already.
Both 5 and 5f will be interpreted as "frame five", so you can use either one.

SoLiTuDe
12-15-2008, 06:19 PM
Hi everyone,

I'm looking for a function that returns a value of a node at a different time than the current time.
for example, my expression is $box01.position.x but I want its value five frames before.
I know in flame it's called eval() and in AE it's called valueAtTime(), and I'm sure there is a similiar function in max I just can't find.

Thanks,
Yonathan

Yeah, was just giving you the syntax.. gotta make you do a little bit of the work. :D

CGTalk Moderation
12-15-2008, 06:19 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.