[lua] function InFlight frame InitSource()

Viewer

copydownloadembedprintName: function InFlight frame InitSource()
  1. function InFlight:InitSource()  -- cache source location and hook tooltips
  2. ------------------------------
  3.         for i = 1, NumTaxiNodes(), 1 do
  4.                 local tb = _G["TaxiButton"..i]
  5.                 if tb and not tb.inflighted then
  6.                         tb:HookScript("OnEnter", postTaxiNodeOnButtonEnter)
  7.                         tb.inflighted = true
  8.                 end
  9.                 if TaxiNodeGetType(i) == "CURRENT" then
  10.                         source = ShortenName(FixTypos(TaxiNodeName(i))) --ShortenName(TaxiNodeName(i))
  11.                 end
  12.         end
  13. end

Editor

You can edit this paste and save as new:


File Description
  • function InFlight frame InitSource()
  • Paste Code
  • 02 Sep-2022
  • 442 Bytes
You can Share it: