First working prototype of AI_CARGO_TROOPS.

This commit is contained in:
FlightControl_Master
2018-03-27 12:07:16 +02:00
parent b6fc46fdd0
commit 727d64927b
3 changed files with 396 additions and 296 deletions

View File

@@ -258,9 +258,14 @@ do -- COORDINATE
--- Returns if the 2 coordinates are at the same 2D position.
-- @param #COORDINATE self
-- @param #COORDINATE Coordinate
-- @param #number Precision
-- @return #boolean true if at the same position.
function COORDINATE:IsAtCoordinate2D( Coordinate, Precision )
self:F( { Coordinate = Coordinate:GetVec2() } )
self:F( { self = self:GetVec2() } )
local x = Coordinate.x
local z = Coordinate.z