NOSIG_Grumpy Posted July 31, 2024 Posted July 31, 2024 Hello all! I´m building a mission for my squad where the helo pilots are gonna escort/scout for a ground convoy on the Afganistan map. The idea is that the convoy is supposed to be controlled via the radio (F10) menu, where the helos can order it to hold and then order it to continue to waypoint. This is supposed to done several times. I've tried to build this but i run into problems. I can stop the convoy and start it again, but only once. Have i stopped the convoy one time then I can´t stop it again. I've tried both repetetive action and switched condition but I don´t seem to get it working. Please advice? BR / Grumpy nullnull
Priest Posted August 1, 2024 Posted August 1, 2024 Instead of using pushed AI tasks like “go to waypoint” and “hold” maybe try using the triggered actions “group resume” and “group hold/stop” instead? Not at my PC just an idea.
rob10 Posted August 1, 2024 Posted August 1, 2024 Might be better if you could upload the .miz file so we can take a better look. And unrelated to your specific question, it's worth making flag names that relate to what they do (i.e. startconvoy and stopconvoy) rather than just numbers as that makes understanding/debugging easier. And your naming (Convoy "Stop") appears confusing as this looks like the "START" condition. I'm confused as to how you're actually getting it to work once actually. From your screenshots: when you STOP the convoy the 1st time it sets Flag 1 to "1". In the 2nd screenshot this will work the 1st time because Flag 1 is set to TRUE yet (so condition met) and Flag 2 isn't set yet (so false condition is met). So I'm actually surprised you're getting it to start again because you never set the opposite flag back (i.e. the STOP flag to false if you want them to restart or the START flag to false if you want them to stop). That's likely part of your logic problem as to why it's not working. 1
Solution SiSMA Posted August 2, 2024 Solution Posted August 2, 2024 look at the mission Convoy Start Stop.miz 1
NOSIG_Grumpy Posted August 13, 2024 Author Posted August 13, 2024 Hello, Thank you so much @SiSMA it works perfect now! // Grumpy 1
Recommended Posts