Difference between revisions of "MIST getDeadMapObjsInPolygonZone"

From DCS World Wiki - Hoggitworld.com
 
(No difference)

Latest revision as of 22:54, 13 April 2018


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, getRandomPointInPoly, isTerrainValid, terrainHeightDiff, getUnitsInZones, getUnitsInMovingZones, pointInPolygon, getUnitsInPolygon, getDeadMapObjsInZones, getDeadMapObjsInPolygonZone, getUnitsLOS, random, randomizeNumTable, getAvgPoint, getQFE, getWindBearingAndVel, getPathLength, getPathInSegments, getPointAtDistanceOnPath, projectPoint, getGroupsByAttribute, , getUnitsByAttribute, mapValue,

Scripting Engine

MIST Root Page