ITAF_LittleMadz77 Posted April 19, 2020 Posted April 19, 2020 Guys i'm very sorry to annoy you with this stupid question but... i can't program an AI to follow waypoints! I have seen the mission example but... no way. I can't understand. I have even seen video ans tutorials but... there is no way! I have a flying plane and i need it to follow a path. Any suggestion? Thank you in advance
Sketch Posted April 19, 2020 Posted April 19, 2020 The first waypoint has to have something connected to it that says, "hey planes go to this waypoint here!" Normally, I use a mission begin to the waypoint. If that's not the issue, maybe try recreating the waypoints you've placed. If it still doesn't work, post your mission here and we'll look into it.
ITAF_LittleMadz77 Posted April 19, 2020 Author Posted April 19, 2020 I did it! Thank you! I did two mistakes: i had a mission begin, linked to a timer, linked to all waypoints. The first error was that the timer was still set to 0 (really a mistake), the second (more important) the timer was linked to all the waypoints... ignorance ? Thank you very much! 1
IckyATLAS Posted April 19, 2020 Posted April 19, 2020 If your plane is on the runway or parked, then the 1st waypoint should be activated by an event link OnPlaneTakeOff. You need only trigger the Command Take Off MCU that will cause the plane to start on the runway and then take off and the 1st waypoint will be then triggered automatically. Check always as many MCUs to become active have first to be triggered.
JimTM Posted April 19, 2020 Posted April 19, 2020 35 minutes ago, IckyATLAS said: If your plane is on the runway or parked, then the 1st waypoint should be activated by an event link OnPlaneTakeOff. You need only trigger the Command Take Off MCU that will cause the plane to start on the runway and then take off and the 1st waypoint will be then triggered automatically. Check always as many MCUs to become active have first to be triggered. That's a good way to trigger the waypoint in this case, but note that it can be triggered in other ways, for example: Any plane passes through a check zone trigger target linked to the waypoint Any player fires a flare in a complex trigger translator zone with an OnObjectFiredFlare message link to the waypoint A server administrator triggers a server input translator target linked to the waypoint You can invent your own scenario to fit your need. The departing planes will just circle until the waypoint is triggered.
ITAF_LittleMadz77 Posted April 19, 2020 Author Posted April 19, 2020 Thank you all, i have a lot of things to learn for sure ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now