Discuss this page on this page's [[plyCredit Talk Page|Talk Page]] === plyChangeShip === See [[http://xelerus.de/index.php?s=functions&function=334|plyChangeShip at Xelerus]] ^ Syntax | (plyChangeShip player target) -> True/Nil | ^ Arguments | player: The player. (See [[Globals#DockScreens|gPlayer]]) | ^ | target: The target ship to transfer to. | ^ Returns | True or Nil depending on success of transfer | ^ Category | [[spaceobject functions|spaceobject]], [[player functions|player]] | ^ Description | This function allows you to switch the playership. You have to take care of transferring items yourself. | === Note === All data set by objSetData is cleared from the target ship. The original player ship's data is moved to the new ship, and the prior player ship's data is also cleared. Return to [[:Functions]] list