Forums » Community Projects
Getting the station name
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.
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.
GetStationName()
That works, thanks.
wow is that new? I thought I got everything till 1.7.35 or so
nah, it's been there forever
crap! right .. it's in my raw list. must have missed it
grep FTW