GetPlayerExperience - Game

SKSE Member of: Game Script

Returns the current amount of experience for the current level. (This function requires SKSE.)

SyntaxEdit

Float Function GetPlayerExperience()

Return ValueEdit

  • Returns the current amount of experience for the current level.

ExamplesEdit

Float Function GetExperienceRemaining()
    ; returns the amount of experience remaining for the current level.
    Return Game.GetExperienceForLevel(Game.GetPlayer().GetLevel()) - Game.GetPlayerExperience()
EndFunction

See AlsoEdit