Difference between revisions of "API GetStationLocation"

From Vendetta Lua
Jump to: navigation, search
(split)
 
(split)
 
Line 1: Line 1:
 
=== GetStationLocation ===
 
=== GetStationLocation ===
 
'''Definition:'''
 
'''Definition:'''
GetStationLocation() -> int stationid
+
GetStationLocation(int stationid1) -> int stationid2
 
<br>
 
<br>
 
'''Description:'''<br>
 
'''Description:'''<br>
 
get the [[stationid]] of the current station  
 
get the [[stationid]] of the current station  
 +
<br>
 +
'''Arguments:'''<br>
 +
''stationid1'' optional [[stationid]] of a station
 
<br>
 
<br>
 
'''Returns:'''<br>
 
'''Returns:'''<br>
''stationid'' [[stationid]] or nil if not docked to a station  
+
''stationid2'' [[stationid]], nil if not docked to a station or ''stationid1'' it is non nil
 
<br>
 
<br>

Latest revision as of 12:32, 14 February 2010

GetStationLocation

Definition: GetStationLocation(int stationid1) -> int stationid2
Description:
get the stationid of the current station
Arguments:
stationid1 optional stationid of a station
Returns:
stationid2 stationid, nil if not docked to a station or stationid1 it is non nil