How to get/set Actor BP Variable within another Actor BP?
Hello UE community, I have a problem in regards to variables and actor BPs This seems like something simple that I just cannot figure out...
I have one actor BP named "Server Rack", with a variable name "timeline".
Within a separate actor BP named "Server Rack Row" I have this actor as a component.
Within the detail of this "actor component" I can see the variable "timeline".
However I cannot access this timeline variable within the event graph
The closest I can get to a solution is getting the general "get timeline" from "Server Rack" but this is not compatible with the scene component.
Any solutions to this would be appreciated or alternate approaches that would achieve the same effect ie creating a Variable in a different way that can be called and adjusted from multiple BPs would be great. I just can't figure out what I'm missing here. Thanks... -Chris
Only components can be components of an actor, when you place actor as component it is enveloped by Child Actor Component which makes containing actor behave like component by controlling it. So you getting refrence of Child Actor Componet not actor it self, even tooltip hint you that.
You need to get ChildActor variable from child actor component first to access your varable, best is just to set actor reference to some variable during BeginPlay.
answered Aug 25 '18 at 11:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here