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
- string: API name of achievement
Return values
- boolean or no value: True if achieved, false if locked, or no value if unauthorized