taxiSrc = GetNodeID(i) |
end |
end |
elseif FlightMapFrame then |
elseif FlightMapFrame and FlightMapFrame.pinPools and FlightMapFrame.pinPools.FlightMap_FlightPointPinTemplate then |
local tb = FlightMapFrame.pinPools.FlightMap_FlightPointPinTemplate |
for flightnode in tb:EnumerateActive() do |
if not flightnode.inflighted then |
flightnode:HookScript("OnEnter", postFlightNodeOnButtonEnter) |
flightnode.inflighted = true |
end |
if tb then |
for flightnode in tb:EnumerateActive() do |
if not flightnode.inflighted then |
flightnode:HookScript("OnEnter", postFlightNodeOnButtonEnter) |
flightnode.inflighted = true |
end |
|
if flightnode.taxiNodeData.state == Enum.FlightPathState.Current then |
taxiSrcName = ShortenName(flightnode.taxiNodeData.name) |
taxiSrc = flightnode.taxiNodeData.nodeID |
if flightnode.taxiNodeData.state == Enum.FlightPathState.Current then |
taxiSrcName = ShortenName(flightnode.taxiNodeData.name) |
taxiSrc = flightnode.taxiNodeData.nodeID |
end |
end |
end |
end |