Hi, I’m setting the default value of a variable from the parent blueprint, in the child blueprint, in the details tab.
So the variable in the parent is NONE, but in the child it will have some value.
But at runtime, when I debug the child’s nodes, I still get NONE.
What gives?!?
1 Like
This should work fine.
I’d avoid the debugger though, sometimes it’s a bit flaky, and it’s easy to debug the wrong instance of something.
What I’d recommenced, is making the variable instance write-able ( eye-icon ), pressing F8 during gameplay, and look at the variable in the actor’s details panel.
1 Like
Oh wait, I actually have another child that I’m placing in the level. So in total I have 3 blueprints here:
parent>child>grandchild. The last one being placed in the level, and that one had it’s own value of NONE, BEFORE I changed the parent’s default value. Resetting it to default fixed it. Thanks.
Now, if there was a way to prevent it from accidentally being modified in the grandchild…
1 Like