Jump to content

[Help!] How to randomly activate group with time delay?


Recommended Posts

Posted

I'm trying to achieve the ability to 'Activate Group' with a random chance but also using the 'Time More' function. The goal being that I will have a random chance of spawning enemy CAP flights but at a delayed time after the mission starts.

 

 

However what I'm doing isn't working:

 

 

6NagsHI.jpg

 

 

Can someone help me to achieve this?

dontletme.png

F-15E | AH-64 | F/A-18C | F-14B | A-10C | UH-1H | Mi-8MTV2 | Ka-50 | SA342 | Super Carrier | Nevada | Persian Gulf | Syria |

Intel Core i7 11700K - 32GB 3200MHz CL16 DDR4 - MSI GeForce RTX 3060 Gaming X 12GB - Samsung 970 EVO Plus NVMe SSD 1TB

Posted

Are you trying to randomly activate just one of those triggers? i.e. to randomly select a single CAP. Or, are the triggers all for different things?

Wayz Out

 

 

Intel Core i9 9900K | ASUS ROG Strix Z390E Gaming MB | G.Skill Ripjaws V 32gb DDR4-3200 | GeForce RTX 2080 Ti | Samsung 970 EVO Plus NVMe

HTC Vive Pro VR | Logitech G x56 HOTAS | Logitech G PRO Pedals

Posted (edited)

Type:

ONCE

 

Conditions:

RANDOM (25)

TIME MORE (20)

TIME LESS (21)

 

Actions:

GROUP ACTIVATE ("Your group")

 

 

This works on the premise that ONCE type triggers are evaluated each second. Thus, these conditions can only be true for one second @ 20 seconds into the mission. The TIME LESS function keeps the conditions from eventually becoming true after that point as the ONCE type trigger will continually be evaluated until it becomes true.

Edited by IlludiumQ36
Posted
Type:

ONCE

 

Conditions:

RANDOM (25)

TIME MORE (20)

TIME LESS (21)

 

Actions:

GROUP ACTIVATE ("Your group")

 

 

This works on the premise that ONCE type triggers are evaluated each second. Thus, these conditions can only be true for one second @ 20 seconds into the mission. The TIME LESS function keeps the conditions from eventually becoming true after that point as the ONCE type trigger will continually be evaluated until it becomes true.

 

 

Thank you SO much! That appears to have done the trick!

dontletme.png

F-15E | AH-64 | F/A-18C | F-14B | A-10C | UH-1H | Mi-8MTV2 | Ka-50 | SA342 | Super Carrier | Nevada | Persian Gulf | Syria |

Intel Core i7 11700K - 32GB 3200MHz CL16 DDR4 - MSI GeForce RTX 3060 Gaming X 12GB - Samsung 970 EVO Plus NVMe SSD 1TB

Posted (edited)

To expound on the concept, the above example is specific to an exact known point of time in the mission. But what if you wanted to perform a random spawn of some group after a time-variable event, say, destroying a convoy or intercepting and shooting down a bomber?

 

To achieve this, set a flag after the event in question (Group Dead ("Bomber") / Flag On - 100, for example). Then set the two following triggers:

 

Type:

ONCE/No event

 

Conditions:

TIME SINCE FLAG 100 = x seconds

RANDOM (y)

FLAG IS FALSE = 101

 

Actions:

GROUP ACTIVATE ("Random Group")

 

 

Type:

ONCE/No Event

 

Conditions:

TIME SINCE FLAG 100 = (x+1) seconds

 

Actions:

FLAG ON = 101

Edited by IlludiumQ36
  • Recently Browsing   0 members

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