Forums » Community Projects

Getting the station name

Aug 04, 2007 samuel.penn link
Hi people,

Does anyone know how to get the name of the station that you're currently in (using lua)? The best that I can seem to do is to get the sector name. What I'd like to get back is the full name, such as 'Dettus Watch'.

Also, maybe, the type of the station as well (i.e., Serco Barracks for the above station). Even better, would be full access to the navigation data, so:

Initros Iron Field (Delta Cluster)
Dettus Watch
Serco Barracks

Thanks,
Sam.
Aug 04, 2007 firsm link
GetStationName()
Aug 04, 2007 samuel.penn link
That works, thanks.
Aug 04, 2007 mr_spuck link
wow is that new? I thought I got everything till 1.7.35 or so
Aug 04, 2007 firsm link
nah, it's been there forever
Aug 04, 2007 mr_spuck link
crap! right .. it's in my raw list. must have missed it
Aug 06, 2007 Demonen link
grep FTW