yes7rose

yes7rose

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

call time() function in if block in python expression June 4, 2013, 6:51 a.m.

call time() function in if block in python expression is not correct, it not stop calculating, is there any solution for this bug?

Thx a lot!!

this is the code:
if frame()<2:
return lvar(“TEMPERATURE2”)

temp = lvar(“TEMPERATURE”)
if temp>400.0 and lvar(“ENERGY”)>0:
temp += lvar(“BURNSPEED”)*time()

temp -=lvar(“TEMPDECAYRATE”)*time()
if temp > 25.0:
return temp
else:
return 25