Short tutorial-like article that describes how to create a custom Decorator node for Behavior Tree which simulates a loop with a randomized number of iterations.
https://dev.epicgames.com/community/learning/tutorials/xp0X/unreal-engine-custom-behavior-tree-decorator-loop-with-randomized-loop-count-c-tutorial
Hello Im new to programming in UE5, do I create the new decorator with BT Decoator Blueprint Base as parent? Then just copy paste your codes?
I think you can answer that yourself by looking at my custom header file. At the line where I declare the class, after the colon, it says the name of the class you need to inherit from.
And yes, you need to create a new class. And yes, you need to copy/paste my code.