Hey guys,
I'm having trouble with the mist flag functions. Since I'm completely new to mist it could be an error on my side ... anyways, here's what I see.
I was trying to use the functions mist.flagFunc.units_in_moving_zones and mist.flagFunc.units_LOS and when using the function as follows, everything is fine.
mist.flagFunc.units_in_moving_zones{
units = {'[red]'},
zone_units = {'hmv1', 'hmv2'},
flag = 1,
radius = 1200,
zone_type = 'sphere',
}
However, if I try to use UnitNameTables for zone_units as in,
mist.flagFunc.units_in_moving_zones{
units = {'[red]'},
zone_units = {'[blue]'},
flag = 1,
radius = 1200,
zone_type = 'sphere',
}
the flag will never activate.
The problem with mist.flagFunc.units_LOS is similar to this but for both sets (unitset1 and unitset2). "Custom" sets of units work, but UnitNameTables (e.g. '[red]' and '[blue]') do not.
Could be an underlying issue or just me.:)
PS: If anyone would like to do a quick check, here's the mission I used for testing. (mist_test.miz)
edit: Observed in DCS 1.5 hotfix 2 with mist 4.0.55.