I need my ai to launch a object at a random target only at targets that still exist in the frame in my battle system, for example I have 7 player objects that each have their own attacks and can attack the enemies but I also have 7 enemy objects that each have their own attacks and the battle is over when either the player or computer is defeated. Help.
Hmmm... I suppose if I use 7 variables and base the target on their random value.
It might just be possible