View Single Post
Old 01-05-12, 10:43 AM   #1
bottomcrawler
Mate
 
Join Date: Jan 2009
Posts: 53
Downloads: 15
Uploads: 0
Default How to make AI unit intercepta specifik target?

I'm creating a mission where the player has to locate and shadow an enemy unit but then hand it over to a surface unit. The surface unit is on station in the vicinity, ready to be vectored to the target.

I can make the surface unit set speed and heading for a specified time, but since its own location is somewhat random and the target's position is both random (the player starts at a random location and the actual position of the target once the detect and shadow criteria have been met could be anywhere along a 200+ nm long track) and changing continually (since the player only has to shadow, not stop, the target), a fixed heading, speed and duration for the surface unit just won't do.

I've tried to send a continuous position of the target to the surface unit once the target has been located by the player and set the target mode to "track" for the surface unit, but that doesn't make it do anything at all. Even sending an "engage" command doesn't make it go for it.

Is there any way to make the surface unit behave the way I want?

(Please ignore the mistakes in the thread title, I can't correct them...)
bottomcrawler is offline   Reply With Quote