Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 26-09-2006, 07:56 AM   #1
sterlma
Subscriber
 
Join Date: Sep 2006
Location: LA, Ca
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:

Last edited by sterlma : 27-09-2006 at 08:40 AM.
sterlma is offline   Reply With Quote
Old 26-09-2006, 08:48 PM   #2
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

if/then statements

if (frame > 100){

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

}

I think that should do it.
__________________
Book Wise

http://X4nd5r.deviantart.com
Xander-0 is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.