v2.2.0 - Weapon System Overhaul
This release adds a few new features and completely overhauls how features like impactInZone and impactNear work, if you have previously used those features please read the readme in detail before dropping in this new version into an old mission.
I have moved to a weapon filter system, that while complicating use of these features slightly adds a huge amount of flexibility and allowed be to combine certain common elements for significant performance gains.
Specific features added:
- Weapon Near: detect when weapons fly near a given target (count amount of weapons of the desired type are near at any given time set in a flag)
- Weapon in Zone: count amount of weapons of a given type are in a zone (quad point or circle zone)
- Weapon Hit: count impacts of given weapon types on a target unit (note experimental as the hit event can have issues in multiplayer)
These features, as well as the impact in zone and impact near featured benefit from the new weapon filter system which allows you to easily define criteria for the weapons you want to function on (using any combo of weapon name, category, coalition, guidance type, missile type, or warhead type)