Condition_HasEnoughCurrencyExchangeCost
Description
Checks whether Self has enough currency to pay the exchange cost of the BaseObject.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object whose exchange cost will be compared against Self's currency (Self or Target) |
| CompareType | Equal: Self has enough currency. NotEqual: Self does not have enough currency. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self can afford the exchange cost of Target | Target | HasEnoughCurrencyExchangeCost | Equal |
| Check if Self cannot afford the exchange cost of Target | Target | HasEnoughCurrencyExchangeCost | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents