If you use this code please credit and link to my Youtube channel at https://www.youtube.com/c/BattlefieldDad Really appreciate it! This prefab includes code to define a complex custom capture area. You can define the area (or multiple areas) using complex polygons, including height. This code also registers and counts if a player is in the area allowing you to build additional objective capture logic around it. I will be providing a working example of how this works in an actual mode shortly as I have developed a version of secure area demonstrating the capabilities and will put out more in the coming weeks. But this logic will allow you to extend and build any objective based mode on any map. The downside is tha AI will not 'see' the objective and it is not highlighted on the map - so another indicator of where it is is needed - whether using a spotted AI soldier or a text messages to indicate direction.
Experience Edit URL