These are more complicated to set up than the other unlockables, which is why there is a separate page. We will go through the setup section by section.
Same basic inspector fields as the other unlockables, do follow the spreadsheet in the Info folder of the shared drive to help with the filling out.
This is how achievements are unlocked. The types are as follows:
- Variable
- Reads 1 dialogue variable to evaluate an unlock
- Task
- Reads any number of variables tracked within a task to evaluate an unlock. All must be true.
- AddHistorical is a special case that reads its own set of variables; the main difference is the History Type, defining how the stats are compared:
- Previous Try: Compares the stats of the previous level to the stat and comparator
- All Keyword: Every entry in player history must pass the condition
- Any Keyword: Every level must have been attempted, and each level's best recorded stat must pass the condition
- Character Keyword: All levels tied to a specific character
- Manual
- Totally manual, evaluation happens within specific code elsewhere.
Both task and variable tracking use the same comparison logic with a small tweak. For the Action Tracker, you must write the EXACT name of the variable you are trying to compare to. Otherwise, the logic is quite straightforward:
- Select the Stat/Variable you are comparing against
- Select the comparison operation
- Set the threshold for evaluating the truth of the comparison statement
Each statement can be read like: Stat is ≤/=/≥ Threshold = Bool or Accuracy (86.3) is < 35 = False.