Do Basic Functions/Nodes Cost Resources?

Does doing this cost more resources to a noticeable point if I’m calling this stuff a lot? I can’t really find details on that from UE4 material.

I’m a little OCD on having scripting look neat, and on top of that I have that I have to make literal name every time I want to set a blackboard value (why can’t I just enter it into the function itself haha??!)

I’m considering just making functions like this purely so I can manually enter the name without also having to make the literal name tag as well. But not sure if it’s a resource hog in the long run, calling a function that literally just calls another function haha?

Sorry if this is an utterly stupid question.

Cheers,

Hi, I wouldn’t worry about that, it won’t have any impact at all. Where you do things on tick, there you could watch out for performance. But even there I would say, go with what gives you the better/easier code. If you then someday run into performance problems and need to optimize, then you can use the profiler which will show you (down to the specific function/event) where your performance goes. Then you can optimize from there (e. g. shift those parts to C++). If your code is cleaner then those transitions will be easier.