Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios



Message


Fer_Cabo -> Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT (9/27/2017 9:20:03 AM)

Hi folks,

Any idea for a LUA Script (to be used in an ACTION when, triggered by a Unit from one SIDE is detected or spends a certain amount of time inside a defined Zone/Area) that MARKS the intruder as "Unfriendly" or "Hostile"?

I know you can use the EXCLUSION ZONES feature, but these are not flexible, since they don't discriminate the SIDES of the intruding units.

For instance: The ROK cannot set up an EXCLUSION ZONE over its sovereign territory that only marks as "Hostile" DPRK aircraft (and not US or Japanese ones...)

Thanks!




thewood1 -> RE: Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT (9/30/2017 8:55:32 PM)

Having an exclusion zone dedicated to a specific side or sides is actually a cool feature. I would suggest putting a request in the feature request thread. It could be done through lua and maybe combined with events, but it gives me a headache thinking about it.




michaelm75au -> RE: Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT (10/1/2017 6:05:33 AM)

Here is a simplistic example:
A fixed zone has been created around a DDG (sideB).
The event is triggered by an aircraft entering the zone or by an aircraft remaining in the zone for several minutes.
There is also a condition that will check that the aircraft is 'known' as a contact to the DDG. [Added this as with the area triggers, they are based on the actual unit being the triggered, rather than a contact visible to the detecting side. Discovered another defect in that conditions are ignored when the 'unit in area' is triggered. Logged]
The action is to mark the contact as 'unfriendly' if it comes within 10 NM of the DDG.
[There is a defect in that the Lua posture is treating 'U' as unknown rather than unfriendly; unknown should be 'X'. Logged]
If you load up the scenario, the P3 should fly across the DDG's zone, and change from a green neutral to a yellow unknown after a few minutes.




thewood1 -> RE: Marking Contacts with a Stance (Hostile/Unfriendly) in EVENT (10/1/2017 1:07:21 PM)

Good to know, I thought I was doing something wrong. The "U" thing was driving me crazy.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.75