Skip to main content

Condition_HasEnoughCurrencyExchangeCost

Description

Checks whether Self has enough currency to pay the exchange cost of the BaseObject.

Parameters

ParameterDescription
BaseObjectThe object whose exchange cost will be compared against Self's currency (Self or Target)
CompareTypeEqual: Self has enough currency. NotEqual: Self does not have enough currency.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self can afford the exchange cost of TargetTargetHasEnoughCurrencyExchangeCostEqual
Check if Self cannot afford the exchange cost of TargetTargetHasEnoughCurrencyExchangeCostNotEqual