Strategy Game by Unreal Engine: Gold Pick Up Feature


Hi guys,

I’ve been trying to tinker with removing all of the code from the gold pick-up blueprint from the strategy game example.
My problem is that everything seems to execute just fine except for the “resetting/renewing” of the resource. I noticed in the BP itself it has a function derived from C++ which is allowing the reset to happen, so obviously removing that causes my problem.
However, I don’t know how to go about replacing this function without copying the code. If anyone is familiar with this demo, please let me know on what your thoughts are for a blueprint only workaround. Thanks!