Returns the vertical coordinate of a taxi flight's destination node. Used in the default UI to draw lines between nodes; TaxiNodeSetCurrent()
should be called first so the client can compute routes.
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:
dY
=
TaxiGetDestY(source,
dest)
Arguments:
source
- Index of the source flight point (between 1 andNumTaxiNodes()
) (number
)dest
- Index of the destination flight point (between 1 andNumTaxiNodes()
) (number
)
Returns:
dY
- Y coordinate of the destination taxi node (as a proportion of the taxi map's height; 0 = bottom, 1 = top) (number
)