Is there a way to edit the script so that it checks to see if you are at the same level as the flag? I had to setpos the flag to 45m, but since the actual terrain is way below the flag, soldiers can't capture the flag due to height issues. However, if it checks to see if you are +/- a distance from the actual elevation of the flag and not the terrain, it would eliminate this problem as well as make it easier for future missions to use flags at different elevations.

Ok some clarification needed here.You need to take both the sheer presence inside the zone into account as well as capping a fully decamped zone by going next to the flag.

So how should either one work?

Some reminders for me:RULES_captureRadius = 10; //the radius of the flag that you need to get within to capture fully decamped baseRULES_maxBasecapAlt = 30; //the altitude above which your presence in zone doesnt count (zones are flattened hemispheres in 3D)