API TaxiNodeCost

Returns the cost of a flight point in copper, unconfirmed if it is before faction cost reductions. cost = TaxiNodeCost(slot)

Arguments

 * slot : Number - 1 ascending to, out of bound numbers triggers lua error.

Returns

 * cost: Number - returns the cost in copper, 0 if destination is undiscovered, free or current node.

Example
The following example will print the name and cost for each flight point that is not free. for i= 1, NumTaxiNodes do   if (TaxiNodeCost(i) > 0) then print(format("Flight to %s costs: %s", TaxiNodeName(i), GetCoinText(TaxiNodeCost(i)," "))) end end