API SectorIDFromLocationStr

From Vendetta Lua
Jump to navigationJump to 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.
Arguments:
location location string. output of API_Index#ShortLocationStr
Returns:
sectorid sectorid
Example:
<source lang="lua">SectorIDFromLocationStr("Sedina H-9") -> 5000</source>