AddAchievement - Game

Revision as of 16:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

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

SyntaxEdit

Function AddAchievement(int aiAchievementID) native global

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

; Give the player achievement/trophy #9
Game.AddAchievement(9)

NotesEdit

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

See AlsoEdit