Discuss this page on this page's Talk Page
Syntax | (plyChangeShip player target) → True/Nil |
---|---|
Arguments | player: The player. (See gPlayer) |
target: The target ship to transfer to. | |
Returns | True or Nil depending on success of transfer |
Category | spaceobject, player |
Description | This function allows you to switch the playership. You have to take care of transferring items yourself. |
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