Skip to main content

Condition_HasEnoughCurrencyTarget

Description

Checks whether the character (Self) has enough currency to purchase the BaseObject based on its sale price.

Parameters

ParameterDescription
BaseObjectThe target object whose sale price will be compared against the character's currency
CompareTypeEqual: Self has enough currency. NotEqual: Self does not have enough currency.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self has enough currency to buy the target objectTargetHasEnoughCurrencyTargetEqual
Check if Self does not have enough currency for the target objectTargetHasEnoughCurrencyTargetNotEqual