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
Found 1 posts.
Search results Show results as topic list.
Technical Discussion » call time() function in if block in python expression
- yes7rose
- 1 posts
- Offline
-
- Quick Links