Hi, target is Widget Blueprint. In Designer i mark elements to Var, but in Graph is needed import each var individualy to made array. When the UI is big, is a waste of time, a excesive Graph size, and more difficult maintenance when modify UI. Need a way to import the array of selected category. I consider this a basic task, sadly not available. Moreover with this node, you can add and delete vars in this category, and automaticaly array is updated after compile, saving your time and avoiding mistakes in this management. Is nonsense, Graph let us specify category in Details tab, but none way to call this category :rolleyes:
The idea is get code from “Construc Object from Class” node, at UE_4.24\Engine\Source\Editor\BlueprintGraph\Classes\K2Node_ConstructObjectFromClass.h and …\BlueprintGraph\private\K2Node_ConstructObjectFromClass.cpp, and made a C++ class in my project. Adding DropDownList for select Variable Category, changing return to array, and delete the rest of code.
I have created the C++ class, copy/paste code from original files, modify include, class declaration. Now target is delete all code in .h class declaration except the necessary to maintain the Class DropDownList selection. I’ve read the code but i’m stucked, i’m beginner in C++
After this, i will search how call category and return array, that sound easy task.