sliwa0392 Posted December 27, 2022 Posted December 27, 2022 Hi, what is the most efficient way to make a group upon reaching a waypoint to randomly choose its next waypoint from a set of three. I have a group with four WPs and when it reaches WP 1 I want it to randomly go straight to either WP 2, 3 or 4 like it has three paths to choose from and it chooses one. I would like my trigger to be reaching WP 1 itself. I set up 'flag set random value ("1", 1, 3) on mission start and then created three 'Perform task > Go to waypoint' on WP 1 each with condition 'IS USER FLAG' and numbers 1 to 3 and it doesn't work, the group follows WPs in order. I think I don't quite understand how flags and conditions work. Is there one or multiple flags you can set value of independently? What does the first value in ("1", 1, 3) do? And finally, how does the 'IS USER FLAG' condition work and what does the tick box next to it do?
Recommended Posts