Is there ability to attach components derived directly from ActorComponent?
At runtime? What exactly are you trying to do?
For example I made an actor inherited from ActorComponent and I want to add this component at runtime to Actor for give him some abilities.
I know that I can use SkookumScriptBehaviorComponent for solve maybe all the problems but for example I have a project that contain lot of ActorComponents and I want continue use them in sk
For now I can extend old ActorCompoents in sk but I can’t attach them from sk at runtime
In C++ you would construct a new component with
ConstructObject and then call
RegisterComponent on it, this is exactly what the
SkookumScriptBehaviorComponent does in its C++ implementation. does not expose
ConstructObject to BP so there isn’t a way to replicate this workflow in without using some C++ in the background.
In general, if you can do it in BP, you can do it in . Some C++ functions that are not exposed to BP are available in . But there are some lower-level C++ calls that are not available in . You would need to write some C++ helpers for this.