mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
pathline
This commit is contained in:
parent
6febbbc8e6
commit
f32c303c0a
@ -406,7 +406,7 @@ function PATHLINE:Draw(Switch, Coalition, Color, LineType)
|
||||
|
||||
Coalition=Coalition or -1
|
||||
Color=Color or {0, 1, 0, 0.5}
|
||||
LineType=LineType or -1
|
||||
LineType=LineType or 1
|
||||
|
||||
if Switch==false then
|
||||
|
||||
@ -430,7 +430,7 @@ function PATHLINE:Draw(Switch, Coalition, Color, LineType)
|
||||
UTILS.RemoveMark(p2.lineID)
|
||||
end
|
||||
|
||||
p2.lineID=UTILS.GetMarkID()
|
||||
p2.lineID=UTILS.GetMarkID()
|
||||
|
||||
trigger.action.lineToAll(Coalition, p2.lineID, p1.vec3, p2.vec3, Color, LineType)
|
||||
|
||||
|
||||
@ -4183,7 +4183,7 @@ function FLIGHTCONTROL:_CheckFlights()
|
||||
if taxipath then
|
||||
local text=string.format("Flight %s [%s/%s]: Unit %s close to taxiway %s. Dist=%.1f meters, Segment=%s-%s", flight:GetName(), flight:GetState(), self:GetFlightStatus(flight),
|
||||
element.name, taxipath:GetName(), dist, seg.p1.name, seg.p2.name)
|
||||
MESSAGE:New(text,10):ToAll():ToLog()
|
||||
MESSAGE:New(text,10):ToLog()
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user