for some weird reason
*this map only stores 1 id *
i have a bunch of children set that all have a unique id
but the map reads it all as 1 id
Are you sure they all have different IDs? Maps will only store one copy per ID.
yes im pretty sure i checked all the id variables with a print string they are all different ranging from 0 to 5 i have 6 actors in total i have no idea why its only storing the data of the id i modified last in run time i need to check my saving system but if you have any ideas other than save please do and im not entirely sure on how mapping works this is my first time working with them
Yes, I’m afraid it does sound like the saving system then ( I don’t see that ).
Best to just extract the part that’s not working and just write a little bit of code to get that working, then drop it back in
so it seems that when i select the other buttons the data from the first value is delete and set to false
map overwrites when i change value of another key ue4?
https://cdn.discordapp.com/attachmen…64/unknown.png
i have a couple children inside my widget with this code to set the correct actor to true or false using the map but the map deletes the data and sets to false if i chose another actor as if they all have the same id but they dont
it seems that adding more values to the map just fixes it? they should really let you add duplicate keys even if its gonna be a 0 just give an error when compiling or smth
never mind it is broken again