API SectorIDFromLocationStr

From Vendetta Lua
Jump to: navigation, search

SectorIDFromLocationStr

Definition: SectorIDFromLocationStr(string location) -> int sectorid
Description:
Convert a location string into a sectorid. For two word system names only first word must be specified, otherwise it doesn't work (e.g. Geira rather than Geira Rutilus).
Arguments:
location location string. output of API_Index#ShortLocationStr
Returns:
sectorid sectorid
Example:

SectorIDFromLocationStr("Sedina H-9") -> 5000