Difference between revisions of "API SectorIDFromLocationStr"

From Vendetta Lua
Jump to: navigation, search
(split)
 
(SectorIDFromLocationStr)
Line 5: Line 5:
 
'''Description:'''<br>
 
'''Description:'''<br>
 
Convert a location string into a [[sectorid]].
 
Convert a location string into a [[sectorid]].
 +
For two word system names only first word must be specified, otherwise it doesn't work.
 
<br>
 
<br>
 
'''Arguments:'''<br>
 
'''Arguments:'''<br>

Revision as of 08:41, 2 June 2009

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:

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