How to create a dictionary like in python at a global level?

I want to create a variable that can be indexed/sliced using a string and contains different kinds of values. So for example:

solution_params = {‘high’:{‘speed’:10,
‘size’:2,
‘loc’:(0,0,1)},
‘mid’:{‘speed’:5,
‘size’:2,
‘loc’:(0,0,0)}}

and so on…

I’ve tried to do it with a function library and structs but I don’t really know how I can create them in the way I need them and how to pass them on to other actors.

So how can I create a struct like that and pass on an entry (in this case, all the data in solution_params[‘high’]) to a different actor?

Slicing up the string is doable, but a bit of a pain in the ars imo. Once there though, it gets pretty straightforward as you’d be storing your data in a struct and, if necessary, passing it through a blueprint interface to share with other actors.