Skip to main content

Execute_ForcedSaleByDept

Description

Forcibly sells the BaseObject game object to repay a debt held by the non-BaseObject character. The proceeds from the forced sale are applied toward the specified loan product of the debtor character. After the sale, the loan data cache for the debtor is refreshed.

Parameters

ParameterDescription
BaseObjectThe game object to be forcibly sold (Self or Target).
S1Loan product ID to be repaid (LoanProduct.json Id).

Examples

DescriptionBaseObjectCommandS1
Sell Self object to repay Target character’s Mortgage loanSelfForcedSaleByDeptMortgage
Sell Target object to repay Self character’s LoanShark loanTargetForcedSaleByDeptLoanShark
Sell Self object to settle Target character’s PersonalLoan debtSelfForcedSaleByDeptPersonalLoan