Oh okay, well, its not an array action but you could use 'game object compare tag' and run a loop that if it finds it, it does its action, like do damage and then remove that object from the list, get next random object in the array, run the 'game object compare tag' again and etc.