The image i have linked shows my class setup, what im trying to do is make the 2 blueprint classes share all the assets they can, which would be every property from the c++ Character class. Does anyone know how?
I set the properties of my c++ classes in my blueprints. So for example in my character c++ class i make a character variable, i then set that in blueprint character. I also have to set it in Blueprint GM_characcter. I want to know if its possible to connect the 2 blueprints shared variables, so i dont have to set and change variables in both.
I have made a diagram that shows the wished outcome, but to my knowledge you cant make a c++ class child of a BP class.
Hello! But what is the problem? You can implement that just in two steps
- create all C++ hierarchy
- after that create all BPs from all C++ classes that you want
One approach is to think about C++ classes as tree and about BPs as leafes for that tree
I accidentally made my reply to you a comment
You can always inherit BP from another BP. As for C++ inheritance from BP - you can try to Nativize BP to C++ and after that you just use pure C++ inheritance. Anyway, it is not good practice to alternate BP and C++ several times…
Yeah my plan right now is making a child blueprint of the other blueprint and adding the extra c++ code with an actor component, should hopefully work.