Hi, everyone!
I was trying to set the visibility of static mesh actors based on the value in the data table.
Firstly, I get all the actors and if the asset user data match the value in the 1st row of the data table, add the actors into an array. Then, set the visibility of the actors in the new array. Then, compare the asset user data again with the value in the 2nd row of the data table and keep iterating until the last row in the data table.
When I executed the blueprint, with “get all actors of class” connected with “for each loop with delay”, only the actors that match with the last key in the data table would disappear.
I tried using it for each loop, but all the related actors disappeared at the same time.
What should l do? Thanks!