I have a list of camos that can be put on a weapon and i was wondering what is the best way of doing this in umg widgets?
I was thinking about using a bool array and having that for the camos. Start by having 0 as true which is no camo on the gun
then when the player selected any camo of the list it would then set all the bools in the array to false to stop two camos on the gun at the same time.
Then it would change the bool to true for the camo they clicked so if the camo represented 5 in the array it would set all the bools to false then set 5 to true.
my question is what would i use to get all the bools in the array and then set them to false. What is the best way of doing this
I mainly use c++ so i dont know all of these nodes but i know some basic ones.