GetPlayerExperience - Game
Revision as of 09:11, 26 October 2017 by imported>Lisselli (→Examples: removed unnecessary variable.)
SKSE Member of: Game Script
Returns the current amount of experience for the current level. (This function requires SKSE.)
Syntax
Float Function GetPlayerExperience()
Return Value
- Returns the current amount of experience for the current level.
Examples
Float Function GetExperienceRemaining()
; returns the amount of experience remaining for the current level.
Return Game.GetExperienceForLevel(Game.GetPlayer().GetLevel()) - Game.GetPlayerExperience()
EndFunction