Execute_PayForObjectExchange
Description
Deducts the exchange cost of the Target object from Self's specified currency (S1). If the Self character is enrolled in property damage insurance, the cost is recorded for insurance purposes.
Note
The exchange cost is derived from the Target object's GetExchangeCost().
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not directly used; Self pays and Target is the exchanged object |
| S1 | Currency ID used for the payment |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Pay the exchange cost for the Target object using Coin | Self | PayForObjectExchange | Coin |
| Deduct exchange fee and log insurance cost | Self | PayForObjectExchange | Coin |
Back to Command FinderSearch and filter all 399 Script Execution documents