soctty
(thereisnoscotty)
December 6, 2020, 11:05pm
1667
Incom:
Thanks a lot for taking the time to help. I will try to recreate what I can to more clearly explain the troubles I have run into. Let me start with the 4:th point.
So to show what I have done I made this picture of what I experienced.
Functionlibrary hosted at ImgBB — ImgBB
Top part of the image is a blueprint function library and I made a simple pure function without any logic in it.
Left part is an ability damage calculation where I try to call this function, and it does not show up.
Right part is a character blueprint in the event graph where I try to do the same and it shows up like expected.
I assume I have done something fundamentally erroneous.
Able abilities aren’t Actors, they’re Objects. It’s likely you’re running afoul of the issue outlined here: https://answers.unrealengine.com/que…in-an-obj.html and here: https://answers.unrealengine.com/que…nt-326679-form
That first post has a few workarounds, but that’s the core of it. Just an old issue nobody has gotten around to properly fixing yet. A less hacky solution, in my opinion, would be to use a Blueprint Interface instead, as this will give you the freedom to change the function’s implementation per-class.