Jump to content

Unit activate after a unit cross a trigger a second time


Recommended Posts

Posted

Hi,

 

I would like to know if it is possible. I tried with flag increase, but something I don't understand.

 

Once > Blue Unit inside trigger > flag increase 1,1

Once > flag equal 2 > Red unit activate

 

Thanks.

IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY

Posted

You have your flag increase in a Once trigger, it's only going to count up once. Maybe try adding a Switched Condition Trigger after the flag increase:

 

 

Switched Condition > Blue Unit inside trigger & flag 1 = 1 > flag increase 1,1

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted

Thanks for your reply.

 

I suppose :

 

Switched > Blue Unit inside trigger - Flag equals 1,1 > flag increase 1,1

Once > flag equal 1,2 > Red unit activate

 

But the red unit does not appears.

IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY

Posted

Here is mine, it works. I think you misunderstood before, I was saying add a switched condition after the once trigger, but that might have doubled counted actually. If you only use switched condition, then you don't need a condition of Flag equals 1.

2passtriggerv2.miz

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted

Hi,

 

Thank you very much, work perfectly.

 

And you are right, I don't understand how the triggers and flags are working, seem so difficult to me.

 

Cheers,

Vincent

IAMD Ryzen 9 5900X 12x 3.7 to 4.8Ghz - 32Go DDR4 3600Mhz - GeForce RTX 3080 - Samsung Odyssey G7 QLED - AIMXY

  • Recently Browsing   0 members

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