TP_Fritz Posted January 11, 2020 Posted January 11, 2020 I'm trying to figure out how to set up a system where I can check the number of aircraft of a specific type (in this case, IL2s) that fly through a check zone. The basic intent is: Check Zone -> Counter (6) -> Subtitle I have a setup where the CZ is active and Object linked to all of the aircraft I want to detect (and there are 9 of them, so the counter should fire). No coalitions are selected in the CZ's advanced properties, and the radius of the CZ is set to make sure the planes pass through it. However, it never fires the Subtitle, so I'm assuming it's not counting the planes correctly. Which, of course, has me wondering if I've set this up correctly. Is this correct and I'm doing something wrong, or is there a different method to do this?
ironk79 Posted January 11, 2020 Posted January 11, 2020 (edited) Make sure HUD is on, or else subtitles or pictures aren’t shown And make sure CZ is active Edited January 11, 2020 by ironk79
TP_Fritz Posted January 11, 2020 Author Posted January 11, 2020 Yes, HUD is on and CZ is active. Apparently, upon further testing, a CZ doesn't work this way - you can't Object Link multiple groups or planes to a single CZ. The only way I've found to do it is to either use a single CZ Object Linked for each plane individually and then have all the CZ's Target Linked to a Counter, or use a Complex Trigger. The next question would then be: Is a single Complex Trigger less resources then, say, 9 CZ's?
Gambit21 Posted January 12, 2020 Posted January 12, 2020 No Check Zone...Use a complex trigger set to detect IL2's.
JimTM Posted January 12, 2020 Posted January 12, 2020 (edited) 5 hours ago, TP_Fritz said: ... Apparently, upon further testing, a CZ doesn't work this way - you can't Object Link multiple groups or planes to a single CZ. ... You can object link a CZ to multiple planes and it will detect only those planes. However, if two or more of those planes occupy the zone at the same time, the CZ will only detect the first entry. Once all of those planes have left the zone, the CZ will again detect the first of those planes to enter again. On the other hand, the complex trigger translator can detect each entry into the zone. Here is a demo mission in which three He111s pass through a CZ: JimTM - Test Check Zone Multi-Plane Detection.zip The first and last He-111 are detected, but the middle on is not because it is not object linked to the CZ. For simplicity, I'm using a single waypoint linked to all the He111s in the demo. In this setup, only the first plane would trigger the waypoint and trigger any other logic connected to the waypoint. See the following topics in the editor manual: Check Zone Trigger on page 276 Complex Trigger Translator on page 252 Edited January 12, 2020 by JimTM
TP_Fritz Posted February 21, 2020 Author Posted February 21, 2020 I'm sorry I haven't responded. Thanks everyone for the feedback, and thanks for the info JimTM. In the end I went with a Complex Trigger as that was the quickest way to accomplish what I was trying to do. I'm at work at the moment unfortunately, but I'll check out your mission example when I get home. I'd much rather use a CZ to do this in the future than a Complex Trigger if I can.
Gambit21 Posted February 21, 2020 Posted February 21, 2020 4 hours ago, TP_Fritz said: I'd much rather use a CZ to do this in the future than a Complex Trigger if I can. Both work, I use both types depending on what I’m doing. For what you’re doing the CT would be my choice but horses for courses.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now