AddAchievement - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

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

Syntax

Function AddAchievement(int aiAchievementID) native global

Parameters

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

Return Value

None

Examples

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

Notes

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

See Also