Returns the number of hops from the current location to another taxi node. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events).


See also Taxi/Flight functions.

Signature:

numHops = GetNumRoutes(index)

Arguments:

  • index - Index of a flight point (between 1 and NumTaxiNodes()) (number)

Returns:

  • numHops - Number of hops from the current location to the given node (number)