Expression Property Calculation

Hey blenderartists,

I need to subtract one property from another:

timeleft = maxtime - timer

timer is a timer property and maxtime in a standard float property (and won’t change). I know you can do calculations with expressions, but what exactly does this kind of logic brick setup look like?

Could someone give me an example, please?

be so?


timeleft.blend (34.4 KB)

Thnx it helped. I always thought I had to do the calculation in the controller brick and not in the actuator brick.

Problem Solved :smiley: