Yeah, but that’s not directly what’s asked for.
The difference is:
-
His request means that you extend an existing Struct with new variable. Something like a Child Struct, similar to Parent and Child behavior of normal Blueprints.
-
Your idea is to create the Parent Struct and then, inside of the “Child Struct”, create a variable of that Parent Struct.
While this might be a “solution”, that’s not what he asked for AND I would not recommend to do that. Structs are pretty broken in Blueprint Only.
They tend to break when you edit a Struct, which is already in use (like adding a new Variable). Or they disconnect on start-up of your project (which happened
to me lately after converting to 4.12).
So the best idea would be, to create the structs in C++. Then you can have your Parent/Child Struct and also avoid these nasty BP bugs.