Jump to content

Complex Trigger counting onEntered aircraft or group


Recommended Posts

Posted

I was trying to set up a trigger that counted the number of aircraft in a group then fired off a flare for every aircraft in that group. So if  a group of 3 flew in then I would see 3 flares. I put in a delay to spread out the timing of the flares firing off.

 

I get the feeling that the trigger was counting the group as a whole and with one flare for all 3.

 

I wondered if I had to disable and enable the complex trigger to allow it  to register the 3 aircraft entering the trigger zone. Possibly this is all to quick for the system to register 3 separate aircraft

Posted (edited)

If you did complex trigger -> timer -> flare then the problem is with the timer. What probably happened is:

  1. Aircraft 1 enters
  2. Complex trigger detects
  3. Timer starts
  4. Aircraft 2 enters
  5. Complex trigger detects
  6. Timer restarts
  7. Aircraft 3 enters
  8. Complex...
  9. Timer restarts
  10. Timer expires
  11. Flare is fired
Edited by coconut
Posted

Ah ok so I think I need to insert a counter for each aircraft that enters and perhaps make multiple flares or timers

 

trigger >Count 1>Timer>flare

trigger >Count 2>Timer>flare

trigger >Count 3>Timer>flare

 

Maybe a bit heavy  but so be it if it works will report back

Posted

Ok that works probably can optimise to one flare

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...