Achievement Increase Stat

Yarn command to increment the stat value of a stat-based achievement by name. If the stat reaches its maximum value, the associated achievement is unlocked.

Command Name: achievement_increase_stat

Require Target: False

Parameters

Parameter
Type
Required
Default
Valid Values
Description

name*

string

–

all caps no space

The name of the achievement whose stat should be increased.

thresholdValue*

number

-

value ≥ 0

The target value to compare against. If stat reaches this value after incrementing, stats will be stored.

Examples

  1. Use Achievement Increase Stat and Set Threshold by 1

    <<achievement_increase_stat "ACH_MENTARI_SQUAD" 1>>

Last updated