mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user