Execute_BuyObjectAtTinyShop
Description
BaseObject character purchases the non-BaseObject item from a TinyShop. On success, ownership is transferred to the buyer, the item is moved to the buyer's inventory, and the price is deducted from the buyer's household currency.
Note
The item's site must have a TinyShopComponent. If TinyShopComponent's SellObject returns false, nothing happens.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character that is buying the item; the non-BaseObject entity is the item being bought |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Self buys the non-BaseObject item from a tiny shop | Self | BuyObjectAtTinyShop |
| Target character purchases item from tiny shop | Target | BuyObjectAtTinyShop |
Back to Command FinderSearch and filter all 399 Script Execution documents