AddAchievement - Game
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 globalParameters[edit | edit source]
- aiAchievementID: The ID of the achievement/trophy to award
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Give the player achievement/trophy #9
Game.AddAchievement(9)Notes[edit | edit source]
- This function will also spit out a message to the Papyrus log for debugging purposes.