With UFUNCTION, Is there a way to add a dynamic dropdown list to a new-created node

Hello,

Is there a way to add a dynamic dropdown list to a node with UFUNCTION?

I would like to add a dynamic dropdown list to a new-created blueprint node using UFUNCTION. In that dropdown list, it automatically collects the property names of a connected actor. Then I can get the property value of the selected property name.

I’ve tried something like:

UFUNCTION( BlueprintCallable, Category = “MyCoreSubSystem” )

bool GetPropertyValue( AActor* actor, TArray propertyNames );

and

UFUNCTION( BlueprintCallable, Category = “MyCoreSubSystem” )

bool GetPropertyValue( AActor* actor, STextComboBox propertyNames );

However, none of them worked.

Any suggestions?

Thanks

1 Like