Jump to content

Trigger help needed; ENO + anyone please respond


Mogs

Recommended Posts

Hi Guys,

 

Got 9 different enemy groups on late activation. Want 1 group activated random. After group dead want another group to spawn. Using flag 1 set random value 1-9. Spawns 1 group random at a time.

 

My issue is when same number comes up. How do i stop recurring numbers 1-9?

 

 

Thanks everyone.

 

 

Mogs

Link to comment
Share on other sites

Try thinking about it in a different way. You have a list of random choices, but want only 1 to be alive at a given point in time. Instead of having to get a random number to identify with each group, you can have all of them grouped by similar trigger conditions. When one is chosen you prevent other groups from being chosen.

 

http://wiki.hoggit.us/view/DCS_editor_Randomization#Single_Choice_from_List

 

When you want a group to spawn you set flag 1 to false. So you could make those 9 triggers and then have 9 others for each time a group is killed to set the flag back to false so another group can be chosen.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • Recently Browsing   0 members

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