Skip to main content

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

ParameterDescription
BaseObjectNot directly used; Self pays and Target is the exchanged object
S1Currency ID used for the payment

Examples

DescriptionBaseObjectCommandS1
Pay the exchange cost for the Target object using CoinSelfPayForObjectExchangeCoin
Deduct exchange fee and log insurance costSelfPayForObjectExchangeCoin