How can i assign received string array elements to menu items?

Hello, i can collect and send bunch of string as an array in Unreal to OSC, it can receive in a OSC text widget properly. How can i use this array data, seperate them for every item in a menu widget?
If i can do this then i can select menu item and send back to Unreal.
Thanks in advance.

You could use the advanced syntaxes to receive this array directly in the menu's values property:

JS{{

var dataFromUnreal = OSC{/data_address}
// javascript processing if needed
return dataFromUnreal

}}

EDIT: if the data from Unreal can be used without any processing, the JS{{}} block can be removed and the property set to: OSC{/data_address}

1 Like

Thank you for fast response.