Achievement

Helper functions to control the achievement system

Reference

Functions

meta:AchievementCheck(class)

View source »

Runs the achievement's check function and if it returns true, awards the achievement

Parameters

meta:AchievementGive(class[, skipPoints=false])

View source »

Gives an achievement to a player

Parameters

meta:AchievementHas(class)

View source »

Returns if a player has an achievement

Parameters

Returns

meta:AchievementTake(class)

View source »

Takes an achievement from a player

Parameters

meta:CalculateAchievementPoints()

View source »

Calculates the achievement points and stores them in the SYNC_TROPHYPOINTS SyncVar on the player

Returns