Jump to content

Recommended Posts

Posted

Hi folks, 

Can't find a decent video on youtube. Can someone suggest? 

I just need make zone to spawn random enemy units for ground attack (so I don't know where they are exactly apart from the general area where they spawn) and similarly, how do I make any number of possible enemy flights spawn? Is there an easy-ish way of doing this without going into millions of details about timings, locations, setting probabilities and so on. I just need a simple - set the zone, set what units can spawn there, done... that's what i need. Is that possible? 

Cheers! 

  • Like 1
Posted

If you don't want to use scripting, you can try (example for one zone):

Set groups on map, inside your zone, with Late Activation checked.

Add triggers:

MISSION STARTUP > no condition > flag 1 set random value (from 1 to x, x = number of groups in that zone)

ONCE > flag 1 is true > Message to All "destroy ground units in zone 1" (info to know where the units will be spawned)

ONCE > flag 1 equals 1 > group activate groupNo_1 

ONCE > flag 1 equals 2 > group activate groupNo_2

...

ONCE > flag 1 equals x > group activate groupNo_x  

 

Copy/Repeat flags/triggers for the rest of the zones

 

  • Thanks 1
  • 3 weeks later...
Posted
On 3/1/2021 at 11:08 PM, CommandT said:

Hi folks, 

Can't find a decent video on youtube. Can someone suggest? 

I just need make zone to spawn random enemy units for ground attack (so I don't know where they are exactly apart from the general area where they spawn) and similarly, how do I make any number of possible enemy flights spawn? Is there an easy-ish way of doing this without going into millions of details about timings, locations, setting probabilities and so on. I just need a simple - set the zone, set what units can spawn there, done... that's what i need. Is that possible? 

Cheers! 

Thank you for this, and sorry about not saying thank you a long time ago. I only just got round to trying to set this up.

Am I right in saying, doing it this way means that for every time you fly the mission only one of the groups will activate? How do I make it so that any random amount of groups activate? For example - I have 28 groups. What if I want anywhere from 10 to 20 of those groups to randomly activate? 

  • Recently Browsing   0 members

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