Background for Skyrim SE
Member of the Game script
floatfunctionGetPlayerExperience()NativeGlobal

Description

Wiki Description

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

Documentation Comment

Returns the players experience for this level (not total experience)


Caveats


Examples

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

Auto-Generated Example

float returnedValue = Game.GetPlayerExperience()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.