MivwTaupos Posted July 15, 2020 Posted July 15, 2020 I read this before https://wiki.hoggitworld.com/view/DCS_editor_Randomization , seems it is group condition but i still not sure how it's work. For example, I have 3 group, group A, group B and Group C, and I want the mission only spawn one of them but no other, so what am I going to do is: trigger once, condition random 50%, random 30%, random 20% in order (from top to bottom), then input action active group A, active group B, active Group C in order(from top to bottom), then the result final is only 1 of 3 group will spawn, though group A has the biggest chance since it is the first order and it has 50%. Am I right?
Reflected Posted July 15, 2020 Posted July 15, 2020 I would do this way: If *condition* then flag set to random value 1: 1-10 Then 10 lines: if flag1=1, then spawn A if flag 1=2 then spawn A ....etc.. if flag 1 = 6 spawn b 1=7: b 1=8: b 1=9: c 1=10: c Although I have a hunch that the "random value" in DCS is not perfectly random, the outcomes don't have an equal probability, but that's just my feeling. Facebook Instagram YouTube Discord
MivwTaupos Posted July 15, 2020 Author Posted July 15, 2020 I would do this way: If *condition* then flag set to random value 1: 1-10 Then 10 lines: if flag1=1, then spawn A if flag 1=2 then spawn A ....etc.. if flag 1 = 6 spawn b 1=7: b 1=8: b 1=9: c 1=10: c Although I have a hunch that the "random value" in DCS is not perfectly random, the outcomes don't have an equal probability, but that's just my feeling. Oh, I got it, thanks :D
MivwTaupos Posted July 15, 2020 Author Posted July 15, 2020 Other question please, if I set Once > Random 50% > Flag 1, any trigger with the condition "Random x%" will eventually become true! as the wiki say. https://wiki.hoggitworld.com/view/DCS_editor_Randomization, So how can I stop it even false, I mean, i just want it checked once, true or false need to be result.
Recommended Posts