mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#PLAYERRECCE
* Added switchable smoking of own position * Changed smoking - now laser target single, other targets as combined coordinate * Added battle field illumination * Added support for the KA-50. Note - camera is seen as "always on". For lasing, target needs to be head-on 12 o'clock
This commit is contained in:
commit
0a4bc23fb8
@ -276,9 +276,9 @@ do -- SET_BASE
|
||||
-- @param Core.Set#SET_BASE SetToAdd Set to add.
|
||||
-- @return #SET_BASE self
|
||||
function SET_BASE:AddSet(SetToAdd)
|
||||
|
||||
|
||||
if not SetToAdd then return self end
|
||||
|
||||
|
||||
for _,ObjectB in pairs(SetToAdd.Set) do
|
||||
self:AddObject(ObjectB)
|
||||
end
|
||||
@ -2639,8 +2639,10 @@ do -- SET_UNIT
|
||||
-- @return Core.Point#COORDINATE The center coordinate of all the units in the set, including heading in degrees and speed in mps in case of moving units.
|
||||
function SET_UNIT:GetCoordinate()
|
||||
|
||||
local Coordinate = self:GetFirst():GetCoordinate()
|
||||
|
||||
local Coordinate = self:GetRandom():GetCoordinate()
|
||||
--self:F({Coordinate:GetVec3()})
|
||||
|
||||
|
||||
local x1 = Coordinate.x
|
||||
local x2 = Coordinate.x
|
||||
local y1 = Coordinate.y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user