newbie expressions question
hey, guys, I jsut started messing around with expressions becuase i realized jsut how poerful they were. I've got a small problem however.
here's what I'm trying to acheive. I ahve a volumetric light coming out of an exhaust nozzle on a fighter jet. I also have a null named, you guessed it 'throttle'
I know that I want max throttle on this to be when the heigt of the light is 6m. So I was going to make the null move along its X axis and have that relate to the percent of 6 that the height would be? get what i mean(100x .06 would give my wanted height)? so that if I set the throttle null to 100, the light is at 6m...however I wnated to use an if statemnt in teh epxression to tell it that if the throttle is above 100, to multiply the throttle number by .08...to make it an exen larger flame for my after burner.
okay..now that thatsd over with, the the thing I'm havig problems with is tha tI jsut don't get how to sue if/else statements in these epressions...the if part works, but everyhting after the comma in teh epxression (the else part) seems to jsut get ignored...can anyone point me in teh right direction here?
help is GREATLY appreciated and I thank you all in advance
|