AddAchievement - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Adds the specified achievement/trophy to the player's gamer profile.

Syntax[edit | edit source]

Function AddAchievement(int aiAchievementID) native global

Parameters[edit | edit source]

  • aiAchievementID: The ID of the achievement/trophy to award

Return Value[edit | edit source]


Examples[edit | edit source]

; Give the player achievement/trophy #9

Notes[edit | edit source]

  • This function will also spit out a message to the Papyrus log for debugging purposes.

See Also[edit | edit source]