Skip to content

← Previous | Next →


achievements

Description

Create an achievement.

Parameters

Name Description
name The achievement name.
label The achievement label.
description The achievement description. Must contain %s if the achievemnt depends in more than one count.
icon The achievement icon. Can be relative within assets folder or an absolute URL.
event The event that will trigger the achievement. May require additional parameters depending on the event.
count An array of quantities sorted from the lowest to the highest tier. Corresponds to the number of times the event must be triggered to unlock the achievement in its respective tier.