Condition_HasEnoughCurrencyTarget
Description
Checks whether the character (Self) has enough currency to purchase the BaseObject based on its sale price.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The target object whose sale price will be compared against the character's currency |
| CompareType | Equal: Self has enough currency. NotEqual: Self does not have enough currency. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self has enough currency to buy the target object | Target | HasEnoughCurrencyTarget | Equal |
| Check if Self does not have enough currency for the target object | Target | HasEnoughCurrencyTarget | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents