How to access the exposed variables of a child actor blueprint?
So what I've done is created a sliding door class blueprint that has the ability to be locked. This door bp is being spawned in the construction script of another blueprint in order to create a room. Unfortunately I can no longer access the locked variable when it's a child actor component. Is there a simple way to do this? I've been looking into spawning an actor from a class, but that can only be used in the event graph. I feel like I'm approaching this from the wrong direction due to my lack of experience with blueprints.
Also as a side note, I've noticed that child actor blueprint components seem to act really buggy. They duplicate themselves when playing in the editor, sometimes moving to the origin of the world space. They don't seem act this way when being played from launch, but occasionally a blueprint that worked fine in PIE will cease to work here.
It seems to me that I'm using this component incorrectly, does anyone have some suggestions? Thanks in advance!
I know this is an old thing but I was cracking my skull on trying to do this for a prototype I was working on.
Your child actor needs to be extracted this way:
Just to elaborate a wee bit more on my scenario.
I have a wall with a child actor that denotes which parts of it can be used as cover. The child actor is named CoverPoint_Actor with a property called IsCoverPoint. So how I went about this was as follows:
Note a few weird things that may throw you off.
Hope this helps. Seriously this silly behavior really threw me off. Hope this helps somebody down the track.
answered Nov 08 '14 at 04:02 PM
THANK YOU SO MUCH!
You are beyond awesome for posting this!!
answered May 17 '17 at 07:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here