AI Escort issue....sort of - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 12-06-2018, 01:53 AM   #1
Ryno1217
Junior Member
 
Join Date: Sep 2014
Location: USA
Posts: 37
Default AI Escort issue....sort of

Im having trouble with something hopefully someone here can shed some light on.

I want to set up an AI Escort that does the following:

Escorts player/unit until a given way point
then stops escort and flies to an orbit point
Orbits until certain conditions are met
once conditions are met, the AI restarts the escort on the given player/unit.

Now I figured out the commands and triggers to get this to work, but the issue I have is that when the escort command stops, the AI flies to its original start point (way point 0) before going to the orbit point. Obviously, this doesn't work when the start point is 50+ miles away from the orbit point....so I'm drawing a blank on how to get the AI not to fly to way point 0 when the escort stops.

Any suggestions???
Ryno1217 is offline   Reply With Quote
Old 12-06-2018, 02:35 AM   #2
MadDog-IC
ED Testers Team
 
MadDog-IC's Avatar
 
Join Date: Apr 2012
Location: Australia
Posts: 933
Default

Quote:
Originally Posted by Ryno1217 View Post
Im having trouble with something hopefully someone here can shed some light on.

I want to set up an AI Escort that does the following:

Now I figured out the commands and triggers to get this to work, but the issue I have is that when the escort command stops, the AI flies to its original start point (way point 0) before going to the orbit point. Obviously, this doesn't work when the start point is 50+ miles away from the orbit point....so I'm drawing a blank on how to get the AI not to fly to way point 0 when the escort stops.

Any suggestions???
You will have to add a "switch waypoint command -> Orbit waypoint" directly after you escort command at the original start waypoint.

You will have to do the same for any other escort commands.

Regards, Ian.
__________________
Asus p877v-pro, Intel I7 3770k 4.2ghz, 32gb Ripjaw X ram, Gigabyte GTX-780 (388.71), Samsung 32" TV, Saitek x52 pro Joystick and Combat rudder pedals, TrackIR 5, Win8.1 x64 with SSD and SSHD protected by (Avast AV).
MadDog-IC is offline   Reply With Quote
Old 12-06-2018, 12:46 PM   #3
Ryno1217
Junior Member
 
Join Date: Sep 2014
Location: USA
Posts: 37
Default

Thanks. I will try when I’m back in front the computer.
Ryno1217 is offline   Reply With Quote
Old 12-07-2018, 12:31 AM   #4
Ryno1217
Junior Member
 
Join Date: Sep 2014
Location: USA
Posts: 37
Default

[QUOTE=MadDog-IC;3712056]You will have to add a "switch waypoint command -> Orbit waypoint" directly after you escort command at the original start waypoint.


This doesnt seem to work. AI still flies to original start waypoint (WPT 0) before heading to orbit WPT (WPT 1 in the attached mission). If you wouldnt mind, please look at the attached mission and see if I did something wrong. This is very basic to show what I am trying to do. There is stop conditions as well as triggers set up to get this task done.

Thanks in advance!

Ryno

Edit: Got it working. You were on the right path. The only difference is that I added the "switch waypoint" command BEFORE the escort command so now once the escort stops, the AI flies direct to orbit WPT.
Thank you for the guidance.
__________________
Windows 10 64 bit, Intel i7 7700k @ 4.7ghz, 16 gb G-Skill Ripjaws DDR4 2800mhz ram, Asus Prime Z270-A mobo, EVGA GTX 970 SC, 240gb SSD,500gb Samsung 850 evo SSD,500gb HDD, X-55 Rhino stick, TWCS throttle,, Thrustmaster T-flight Rudder Pedals, Track IR 5

Last edited by Ryno1217; 12-07-2018 at 12:45 AM. Reason: Correctede
Ryno1217 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:02 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.