I see there is cool K2Node: GetDataTableRow. It has small, but tasty feature: it has drop-down list at Name pin.
I want to create my own similar node. But I don’t see direct way to do it. No any references to drop-down list in UK2Node_GetDataTableRow. Not clear for me.
I belive Epics will give me any advices how to do that.
Hi broly, I’m basically trying to do what you were attempting and also can’t make my K2Node work the way UK2Node_GetDataTableRow works.
You seem to have found a workaround but I don’t quite understand how you used CreateVisualWidget. I would really appreciate if you could point me in the right direction.
My question is, if you could tell me more about the CreateVisualWidget of how you solved this, it would be very helpful.
I am working on the same problem (K2Node_GetDataTableRow).
I am trying to analyze the code of K2Node_GetDataTableRow to see if the same mechanism as the input of K2Node_GetDataTableRow can be supported for nodes that I create on my own.
I Get Linked component‘s pointer but can not read its property,it like the 42th line,I have add Property—“TestString” to NameList, but it return as “NONE”(The 3th for NameList )
But as the 40th line code,I try to get the linked compoent name,it is work. How to read property of linked Uobject?
The second problem is that,I add a DataTable pin for CompareTest,the component and DataTable are UObject to.
I find that when the DataTable is chosed,the “TestDataPin->DefaultObject” is valid(Like Code 61th -63th line and it work as that the NameList can show the chosed DataTable’s Name)
But when the DataTablePin linke, it can not get pointer ,it is same as the K2Node_GetDataTableRow which is official node how fix it?