GMSavage Posted February 12, 2023 Posted February 12, 2023 Hi there! I am currently making a demo featuring a formation of aircraft, including the F-15C, F-22A, and F-35A. I have the AI to start by going to an orbiting waypoint while i do maneuvers, forming up with me when I enter a specific trigger zone, and executing aerobatics (military turn and climb to break out like the blue angels) when I enter into another different zone. whats my problem? well, when the AI breaks apart from the formation from the aerobatics, I hope for them to proceed to land, however, they tend to link back with my aircraft and form up again. I have it set for AI Task Push to Switch to the landing waypoint when I enter another zone, but it appears to ignore that. That is when things get bad. I have made this thread so you can make any suggestions that could help. Thanks a lot!
Solution SUNTSAG Posted February 12, 2023 Solution Posted February 12, 2023 Add a stop condition to your follow command (eg Flag 901) then activate your task push to land. See if that resolves your issue. Cheers. Callsign: NAKED My YouTube Channel [sIGPIC][/sIGPIC]
GMSavage Posted March 26, 2023 Author Posted March 26, 2023 (edited) Flags tend to confuse me. Can I use any number for the flag? Do I have it set to “off” or “on”? Edited March 27, 2023 by GMSavage
TEMPEST.114 Posted March 27, 2023 Posted March 27, 2023 8 hours ago, GMSavage said: Flags tend to confuse me. Can I use any number for the flag? Do I have it set to “off” or “on”? Flags are just variable names. These variables are either Boolean (true/false or on/off) or an integer (a number value) its much easier if you give then a name I.e. KILL_COUNT or IS_COALTION_FEET_DRY You can use upper or lowercase but it’s helpful to have a style that differentiates them from Trigger Zone names and Group Names - hence I use all caps. Either way, stop using numbers that don’t mean anything. It makes complicated conditions much easier to read and debug.
GMSavage Posted April 2, 2023 Author Posted April 2, 2023 I took your advice, and it worked! The AI broke apart when I entered the zone. However, they only finished 1/2 of my expectations. They did break off, but did not land at the designated airfield. I have all but one airfields red so they can’t land at them, and when I do that, they fly in the air until they run out of gas and fall out of the sky. I have the waypoint set to land at Nellis, the AFB in the Nevada map. What can I do?
TEMPEST.114 Posted April 3, 2023 Posted April 3, 2023 14 hours ago, GMSavage said: I took your advice, and it worked! The AI broke apart when I entered the zone. However, they only finished 1/2 of my expectations. They did break off, but did not land at the designated airfield. I have all but one airfields red so they can’t land at them, and when I do that, they fly in the air until they run out of gas and fall out of the sky. I have the waypoint set to land at Nellis, the AFB in the Nevada map. What can I do? 1. Is their final waypoint to land at that field? 2. Have you tried an Advanced Waypoint Trigger of 'Go To Waypoint <number' and set the number to the landing waypoint? Then push that task (or set it) when you want them to RTB? 3. Can the airfield actually support that aircraft type landing there? I ask because there are multiple maps that refused to allow certain aircraft (irrespective of coalition) to land at perfectly valid airfields because the devs screwed up the meta data and it's never been addressed. Several of them are in Nevada... 4. if you want them to fly all their waypoints and NEVER land until you actively PUSH that advanced waypoint action trigger, then you need to set their penultimate waypoint to have an action to go to a waypoint that means it will skip the last waypoint and go to a previous one.
GMSavage Posted April 8, 2023 Author Posted April 8, 2023 (edited) On 4/3/2023 at 7:59 AM, Elphaba said: 1. Is their final waypoint to land at that field? 2. Have you tried an Advanced Waypoint Trigger of 'Go To Waypoint <number' and set the number to the landing waypoint? Then push that task (or set it) when you want them to RTB? 3. Can the airfield actually support that aircraft type landing there? I ask because there are multiple maps that refused to allow certain aircraft (irrespective of coalition) to land at perfectly valid airfields because the devs screwed up the meta data and it's never been addressed. Several of them are in Nevada... 4. if you want them to fly all their waypoints and NEVER land until you actively PUSH that advanced waypoint action trigger, then you need to set their penultimate waypoint to have an action to go to a waypoint that means it will skip the last waypoint and go to a previous one. 1. Yes. WP3 (final waypoint) is set to land at Nellis 2. Yes, when the flag is on, they should break off, and I have the ‘switch waypoint’ command set so they return to Nellis AFB 3. I’m not sure. I’m using Nellis AFB in the Nevada map. 4. …what? Edited April 8, 2023 by GMSavage
Recommended Posts