Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted
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

  • Recently Browsing   0 members

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