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

Description

Wiki Description

Returns the required amount of experience for the next level up. (This function requires SKSE.)

Documentation Comment

Calculates the experience required for to level-up
(fXPLevelUpBase + currentLevel * fXPLevelUpMult)


Caveats

CK Wiki - Notes

  • This function only returns the total experience needed to level up. Use Game.GetPlayerExperience() when you want to know the amount of experience gained for the current level.

Parameters

intcurrentLevel


Examples

No human-generated examples found for this function.

Auto-Generated Example

int myInt__currentLevel

float returnedValue = Game.GetExperienceForLevel(myInt__currentLevel)

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.