MIST getDeadMapObjsInPolygonZone

From DCS World Wiki - Hoggitworld.com


mist.getDeadMapObjsInPolygonZone

Added with: Mist 1.0
Description
eturns a table of map objects index numerically that are dead within the polygon zone defined by the points in the table zone.
Syntax
table mist.getDeadMapObjsInPolygonZone(table poly )
Valid Input Values:
poly= vec2/vec3 points indexed numerically
[1] = { 
x = number, 
y = number, 
z = number or nil (nil if you’re using Vec2), 
},
Return value:
table
Return example:
table
Usage Examples:

do

--code needed 

end

Notes:
Related Functions
makeUnitTable, getRandPointInCircle, getRandomPointInZone, isTerrainValid, terrainHeightDiff, getUnitsInZones, getUnitsInMovingZones, pointInPolygon, getUnitsInPolygon, getDeadMapObjsInZones, getDeadMapObjsInPolygonZone, getUnitsLOS, random, randomizeNumTable, stringMatch, getAvgPoint, getQFE

Scripting Engine

MIST Root Page