Jump to content

Trigger Actions to get Ai ground Units to hold and then move several times


Go to solution Solved by SiSMA,

Recommended Posts

Posted

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

image.png

image.png

image.png

Posted

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.

Posted

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.

  • Like 1
  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...