euthyphro Posted July 14, 2020 Posted July 14, 2020 I have the basic trigger system down for mission editor. What I have been trying to do is set up a system that randomly spawns aircraft. My goal is to fly around searching for ground targets while enemy aircraft randomly spawn to attack me. Maybe one will spawn and another will spawn right after and I need to deal with two air craft at once. Or, after I shoot an aircraft another will not spawn for some time. I have been trying to create multiple trigger zones that randomly assign flag values from 1-10 each time my plane flies into one. Then I assign three enemy plan groups (enemy group 1 spawns when flag equals 1... enemy group two spawns when flag equals two etc.... Flags from 4-10 spawn nothing). Sounds like it should work but it does not. Any suggestions? Sometimes only one group will spawn regardless of how many trigger zones I make and fly into (one time I made 20 trigger zones!!) and other times none will spawn.
Yurgon Posted July 14, 2020 Posted July 14, 2020 The outcome sounds fairly random. Isn't that exactly what you're looking for? :music_whistling: First of all, do you look at the raw data, i.e. do you output the flags that are getting set? Otherwise you'd be literally flying blind and it would all be down to guesswork. I'd suggest simple Message To All actions so that you can actually figure out what's going on. And while we're on the topic of flying blind, it's completely impossible for us to tell what's happening. If you uploaded your mission, we'd be able to take a look and we could tell you much more precisely if there are any obvious mistakes on your end, or maybe in DCS.
Recommended Posts