I’ve read the tutes and searched the threads, and still can’t figure this out. Please help.
In the attached .fla, I’ve given “seeker” a quasi-random movement (8 directions) with bounds. That works fine. Following seeker around is “fov,” representing seeker’s field of view. This is partly what I’ve taken from the pros here and partly my own ugly experiment…sorry if the code is horrendous.
The problem: I want the seeker to pursue any object inside the clip “men,” which includes m1, m2, and m3. They are not duplicated clips. I’ve used a for loop and an array. It wants to work, but some of the time, it goes after the wrong clip! What I mean is, it’ll collide with one and pursue another. Why?
Also, is there a way to extract the name of the clip that fov hits so that it can populate the dynamic text field named “target?”
Thank you.