Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums

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
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?


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
Registered User
Xander-0's Avatar
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post

if/then statements

if (frame > 100){

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


I think that should do it.
Book Wise
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-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.