View Single Post
# 1 17-11-2008 , 09:25 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567

expression update problem

Hey, I'm havng a problem with an expression, I'm trying to get Maya to do something when it reaches a current time, here's what I have so far...


int $time = `currentTime -query`;

if ($time = 100)
{

print whatever;// will be replaced by command later on

}


at the moment it prints the word every frame, where as I want it to only print when it gets to 100.

Any ideas what I'm doing wrong?

Cheers,

Chris