Stationid: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
sectorid is the sector the station is in and index probably the id of the station within the sector. since there's currently only one station per sector it's always 1. I guess that also means theoretically there could be 255 stations per sector. | sectorid is the sector the station is in and index probably the id of the station within the sector. since there's currently only one station per sector it's always 1. I guess that also means theoretically there could be 255 stations per sector. | ||
See: | See: | ||
[[Function_index#SplitStationID]]<br> | [[Function_index#SplitStationID]]<br> | ||
[[Function_index#GetStationFaction]]<br> | [[Function_index#GetStationFaction]]<br> | ||
[[Function_index#GetStationLocation]]<br> | [[Function_index#GetStationLocation]]<br> | ||
[[Function_index#GetStationName]]<br> | [[Function_index#GetStationName]]<br> |
Revision as of 11:35, 6 August 2007
Integer identifying a station in the game universe
The id is made up of the sectorid * 256 + index. sectorid is the sector the station is in and index probably the id of the station within the sector. since there's currently only one station per sector it's always 1. I guess that also means theoretically there could be 255 stations per sector.
See:
Function_index#SplitStationID
Function_index#GetStationFaction
Function_index#GetStationLocation
Function_index#GetStationName