Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   Expression Timing? (https://simplymaya.com/forum/showthread.php?t=23302)

sterlma 26-09-2006 06:56 AM

Expression Timing?
 
Hi all! I'm new around here, but love this site. I sort of stumble on it by accident, but I VERY happy I did. Anyway, here's my question.

Can anyone tell me if there is a way to instruct a runtime expression to begin firing only at a certain frame.

my expression is basically this:

light.blink = ((frame/16) % 2)

I want this expression to start at frame 100. How do I express that?

edit:

Sorry, Xander, I guess "frame" can be used as you described. I just must have had the syntax wrong before. :lol: now I no two ways to get the current frame. :lol:

Xander-0 26-09-2006 07:48 PM

if/then statements

if (frame > 100){

light.blink = ((frame/16) % 2);

}

I think that should do it.


All times are GMT. The time now is 03:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018