Functions Documentation |
|
Name |
plyChangeShip |
Syntax |
(plyChangeShip player newShip) -> True/Nil |
Argument List |
player: this will usually be gPlayer
newShip: the space object to transfer to |
Returns |
True or Nil depending on the success of the transfer |
Category |
spaceobject, ship
|
Description |
This function allows you to switch the playership. You have to take care of transferring items yourself. |
Example |
|
Comment |
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. |