replacing "Map Get Value By Index" for an equivalent

Hi, I am trying to downgrade some blueprint for some interaction I got from somebody on patreon. It’s almost working but for some reasons this node is not available even if when I ask brave about it it says it should be available… but anyways

My question is what could I replace it for, I dont understand really the logic in the code there, it is looping through this Map of value for the number of montage in an array and should give the key which I have no idea what it should be and the value which is probably the name of the montage.

Anybody know what node and logic i could replace this for the keep it working?

thanks much, its a bit over my paygrade as a programmer… :frowning:

get values and you treat it like a normal array

ok yeah thanks any chance you could you show me how you would use the nodes by any chance, I can do stuff with vectors and simple code but I struggle to understand how to use this type of coding with table and array. I am actually not sure what it does there. is it possible to display the value of an array in a table when print string so I can see way value is inside? any debug line or tool you could recommend? I’ll try to fix it but any help would be appreciated.

Or if you could tell me what is the key? I understand that an array has an index and a value stored . But what i dont understand in this case is what is the difference between the index and the key?

a map is a Key/Value pair but essentially they are both arrays hence they can have Indexs.

if you drag off the Map you can search for Values which is as it says an array of the values and iterate over that.

the difference is the key will always get you the correct value but you dont know whats at Index[0] for instance

Thanks, it took me some time to understand what you were saying and played around with this trying to find how I could convert the Struct / Map into arrays but the first thing I tried worked when I separated the Key and the Value from it and treated them separately as the other guy was saying, Actually both of you helped me. I didnt think I could do this one. Learning more every day