Page 1 of 1

replaceShip JS method question

Posted: Sat Jan 19, 2013 8:02 am
by JazHaz
On the wiki, Oolite JavaScript Reference: Player - replaceShip:
This method can only be called while the player is docked at a station.
I want to know if this only works at main stations, or whether it can be done at an OXP station?

Re: replaceShip JS method question

Posted: Sat Jan 19, 2013 9:32 am
by cim
JazHaz wrote:
On the wiki, Oolite JavaScript Reference: Player - replaceShip:
This method can only be called while the player is docked at a station.
I want to know if this only works at main stations, or whether it can be done at an OXP station?
Any station.

Re: replaceShip JS method question

Posted: Sat Jan 19, 2013 12:23 pm
by JazHaz
cim wrote:
JazHaz wrote:
On the wiki, Oolite JavaScript Reference: Player - replaceShip:
This method can only be called while the player is docked at a station.
I want to know if this only works at main stations, or whether it can be done at an OXP station?
Any station.
What about at a Behemoth? Although was thinking about defining it as a station.

Re: replaceShip JS method question

Posted: Sat Jan 19, 2013 12:32 pm
by cim
JazHaz wrote:
What about at a Behemoth? Although was thinking about defining it as a station.
A Behemoth is a station. (The term "carrier" is often used for "stations which have a non-zero top speed", but they're still stations)

Re: replaceShip JS method question

Posted: Sat Jan 19, 2013 12:43 pm
by JazHaz
cim wrote:
JazHaz wrote:
What about at a Behemoth? Although was thinking about defining it as a station.
A Behemoth is a station. (The term "carrier" is often used for "stations which have a non-zero top speed", but they're still stations)
Even better! :lol: