ARTY v0.9.3

ARTY:
- Improved tac nukes implementation. Added user functions.
- Added relocation option after engagements.
COORDINATE:
- Added get surface type function.
This commit is contained in:
funkyfranky
2018-05-28 14:38:04 +02:00
parent 7ce20d92cb
commit 21ce0cac8d
2 changed files with 212 additions and 44 deletions

View File

@@ -958,6 +958,16 @@ do -- COORDINATE
return Path
end
--- Gets the surface type at the coordinate.
-- @param #COORDINATE self
-- @return Dcs.DCSland#SurfaceType Surface type.
function COORDINATE:GetSurfaceType()
local vec2=self:GetVec2()
local surface=land.getSurfaceType(vec2)
self:MarkToAll("Surface type = "..surface)
return surface
end
--- Creates an explosion at the point of a certain intensity.
-- @param #COORDINATE self
-- @param #number ExplosionIntensity