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
| Parameter | Description |
|---|---|
| BaseObject | The game object to be forcibly sold (Self or Target). |
| S1 | Loan product ID to be repaid (LoanProduct.json Id). |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Sell Self object to repay Target character’s Mortgage loan | Self | ForcedSaleByDept | Mortgage |
| Sell Target object to repay Self character’s LoanShark loan | Target | ForcedSaleByDept | LoanShark |
| Sell Self object to settle Target character’s PersonalLoan debt | Self | ForcedSaleByDept | PersonalLoan |
Back to Command FinderSearch and filter all 399 Script Execution documents