hello i am trying to create zone capturing system using mist
mist.flagFunc.units_in_zones{
units = {'[blue][vehicle]'},
zones = {'Zone1'},
flag = 7,
req_num = 4,
}
essentially i want a zone to be captured when at least 4 units are present in the zone.The zone should become neutral when less than 4 units are present.Currently with the above code the script only runs once(4 units are entering a zone,flag 7 becomes true and a message is shown but when the conditions are no longer met flag 7 doesnt become false and the appropriate message is not shown) finally i would like this to be functional for multiple swithes of the ownership of a zone.