GetExperienceForLevel - Game

From the CreationKit Wiki
Revision as of 09:22, 26 October 2017 by imported>Lisselli (→‎Syntax: added missing parameter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Game Script

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

Syntax[edit | edit source]

Float Function GetExperienceForLevel(int currentLevel)

Return Value[edit | edit source]

  • Returns the required amount of experience for the current level to level up.

Examples[edit | edit source]

  • None

Notes[edit | edit source]

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

See Also[edit | edit source]