Auto targeting system

The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
edited January 2012 in Working with GS (Mac)
Okay so I'm building a targeting system for moving targets. I know how to create a targeting system for static targets and I think I know most of what I need to do for the system logic. So say I have 5 targets moving on a scene, I know I want them to report their locations to a real ATT, and when the crosshair is overthat specific target I need it to keep track of it's report. I imagine if I made a rule like when crosshair overlaps and collides with target, say I group them, then I would embed a series of otherwise rules like (when crosshairs overlaps and collide with target A TIMER .001 change Att to target A self.position X &Y) for each target and it would track that target and then in my fire rule would be something similar. Am I getting this right or is there a way to reduce the code.

Comments

Sign In or Register to comment.