You have the set Points, then you connect that execution pin to the for loop. then that execution pin (loop body) to the cast to node and then stop. dont connect the max zombie yet. then you connect the arry node from the for each loop to the get all actor from class array node. Then you connect the array element from the for Each loop in the cast to node. and then you can set max zombie from the blue node to get the right blueprint class that contains that variable.