mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixed errors with SET_GROUP
This commit is contained in:
@@ -485,6 +485,8 @@ function GROUP:GetCallsign()
|
||||
return GroupCallSign
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetCallsign", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -527,6 +529,8 @@ function GROUP:GetPointVec2()
|
||||
return FirstUnitPointVec2
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetPointVec2", Group = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -544,6 +548,8 @@ function GROUP:GetCoordinate()
|
||||
return FirstUnitCoordinate
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetCoordinate", Group = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -566,6 +572,8 @@ function GROUP:GetRandomVec3(Radius)
|
||||
return FirstUnitRandomPointVec3
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetRandomVec3", Group = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -586,6 +594,8 @@ function GROUP:GetHeading()
|
||||
return math.floor(HeadingAccumulator / GroupSize)
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetHeading", Group = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
|
||||
end
|
||||
@@ -612,6 +622,8 @@ function GROUP:GetFuel()
|
||||
return GroupFuel
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetFuel", Group = self, Alive = self:IsAlive() } )
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -85,6 +85,8 @@ function POSITIONABLE:GetPositionVec3()
|
||||
return PositionablePosition
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetPositionVec3", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -108,6 +110,8 @@ function POSITIONABLE:GetVec2()
|
||||
return PositionableVec2
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetVec2", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -129,6 +133,8 @@ function POSITIONABLE:GetPointVec2()
|
||||
return PositionablePointVec2
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetPointVec2", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -149,6 +155,8 @@ function POSITIONABLE:GetPointVec3()
|
||||
self:T2( PositionablePointVec3 )
|
||||
return PositionablePointVec3
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetPointVec3", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
@@ -172,6 +180,8 @@ function POSITIONABLE:GetCoordinate()
|
||||
return PositionableCoordinate
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetCoordinate", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -206,6 +216,8 @@ function POSITIONABLE:GetRandomVec3( Radius )
|
||||
end
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetRandomVec3", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -224,6 +236,8 @@ function POSITIONABLE:GetVec3()
|
||||
return PositionableVec3
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetVec3", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -245,6 +259,8 @@ function POSITIONABLE:GetBoundingBox() --R2.1
|
||||
end
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetBoundingBox", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -263,6 +279,8 @@ function POSITIONABLE:GetAltitude()
|
||||
return PositionablePointVec3.y
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetAltitude", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -285,6 +303,8 @@ function POSITIONABLE:IsAboveRunway()
|
||||
return IsAboveRunway
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot IsAboveRunway", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -311,6 +331,8 @@ function POSITIONABLE:GetHeading()
|
||||
end
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetHeading", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -341,6 +363,8 @@ function POSITIONABLE:GetVelocity()
|
||||
return Velocity
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetVelocity", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -361,6 +385,8 @@ function POSITIONABLE:GetVelocityVec3()
|
||||
return PositionableVelocityVec3
|
||||
end
|
||||
|
||||
BASE:E( { "Cannot GetVelocityVec3", Positionable = self, Alive = self:IsAlive() } )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user