Download

How to trigger math operations?

Hi,

I’m currently working on a blueprint function and need now a simple integer + integer. The problem is, there is no ‘pin’ for executing the math operation. So how do I trigger when the function should calculate and when not?

Thank you!

The math is going to be executed when another function actually uses the result of the math operation, there is no point for the system to be calculating it if it’s not used in anything :p… if that makes sense.

Ok thank you. It takes some time to getting to use with the blueprints^^

Sometimes you only wanna store the result for use later. Imo you use “SET” node.

If you make a Function and it only has Math inside, I believe you should check “Pure” to make it a pure function. This takes the execution pins off and leaves only whatever output pin you create inside the function.