IsAchievementCompleted

IsAchievementCompleted

Gets if the specified achievement has been unlocked.

This function exists in all environments, but will do nothing if called from any script other than data/script/achievements.lua, even other privileged scripts.

This function is not officially documented.

Arguments

  1. string: API name of achievement

Return values

  1. boolean or no value: True if achieved, false if locked, or no value if unauthorized