Actor:SwapPrevInventory
From Data Realms Wiki
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! |