API SplitSectorID

From Vendetta Lua
Jump to navigationJump to search

SplitSectorID

Definition: SplitSectorID(int sectorid) -> int systemid sectorh sectorv
Description:
split up a sectorid into systemid and axis on the system grid
Arguments:
sectorid sectorid
Returns:
systemid
sectorh horizonatal axis
sectorv vertical axis
Example:
<source lang="lua">SplitSectorID(5000) -> 20 8 9</source>
Sedina h9