Actor:SwapPrevInventory
From Data Realms Wiki
(Difference between revisions)
Latest revision as of 00:49, 28 June 2012
Function | |
---|---|
Syntax | SwapPrevInventory( * A pointer to the external MovableObject to trade in. Ownership IS xferred!
|
Description: | |
Swaps the prev MovableObject carried by this Actor and puts one not currently carried into the into the back of the inventory of this. | |
Returns | The prev MovableObject in this Actor's inventory. Ownership IS xferred! If there are no MovableObject:s in inventory, 0 will be returned. |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |