Need help with ground patrol - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 03-24-2020, 02:39 AM   #1
rwbishUP
Junior Member
 
rwbishUP's Avatar
 
Join Date: Sep 2019
Posts: 98
Question Need help with ground patrol

Was wondering if there was a way, to backtrack it's waypoints? I'm trying to set up an AI patrol vehicle which travels on road waypoints through a town. I would like to get the vehicle to follow the same wp back and forth through the town. I have tried the built in command to "go to waypoint", but on the return trip the vehicle heads straight off road through trees and houses. I figure there's a way with MIST or MOOSE but, I'm illiterate when it comes to programming. I know how to make MIST or MOOSE implement @ mission start but that's about it. But I'm slowly learning, thanks.
rwbishUP is offline   Reply With Quote
Old 03-25-2020, 05:52 PM   #3
rwbishUP
Junior Member
 
rwbishUP's Avatar
 
Join Date: Sep 2019
Posts: 98
Default

Quote:
Originally Posted by feefifofum View Post
Just make the whole route, back and forth, then have them repeat it.
Well, I asked on the Hoggit forum also. And got basically the same answer. Make the route adding return waypoints overlapping and add "go to wp". I was concentrating so much on using a .lua script that I completely didn't see the obvious, brain fart I guess.

Thanks for the response
rwbishUP is offline   Reply With Quote
Old 03-26-2020, 12:10 AM   #4
feefifofum
3rd Party Developer
 
feefifofum's Avatar
 
Join Date: Jan 2015
Location: USA
Posts: 3,248
Default

No problem! Sometimes it's easy to forget. All of the scripting solutions exist because the built-in function is a relatively recent addition. The scripting stuff still offers some additional flexibility, if you have a more complex need in the future.
feefifofum 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 10:08 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.