Returns the vertical coordinate of a taxi flight's source 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:
sY
=
TaxiGetSrcY(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:
sY
- Y coordinate of the source taxi node (as a proportion of the taxi map's height; 0 = bottom, 1 = top) (number
)