Skip to content

CollectUpgradeableCurrencyTypeGoal

Goal CollectUpgradeableCurrencyTypeGoal
Description A Goal that is complete when the player accumulates a certain number of units of one or more instances of an Upgradeable Currency type. This is the same as CollectCurrencyTypeGoal but must target an Upgradeable Currency.
Example Collect 10 Cory Cards
Inheritance CollectCurrencyGoal
Target The target Upgradeable Currency is specified by id via CollectUpgradeableCurrencyTypeGoalData.CurrencyId. It is possible to target all Upgradeable Currency types by setting the CollectUpgradeableCurrencyTypeGoalData.Any flag.
Target Amount The target amount of Upgradeable Currency to collect is specified via CollectUpgradeableCurrencyGoalData.Amount.
Progression Each time the player collects units of the target Upgradeable Currency, the Goal is progressed by the number of collected units. For example, if the player collected 10 units of a Character Upgradeable Currency, and the Goal was targeting instances of that Upgradeable Currency type, the progress would be incremented by 10. This continues until the target amount has been reached at, which point the Goal is complete.
Post Activation Only Upgradeable Currency collected after the Goal has become active counts towards the Goal's progression.
Remarks