Difference between revisions of "GetExperienceForLevel - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Lisselli
m (→‎Syntax: Changed wrong function name to correct name.)
imported>Lisselli
m (→‎Syntax: added missing parameter)
 
Line 8: Line 8:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
Float Function GetExperienceForLevel()
Float Function GetExperienceForLevel(int currentLevel)
</source>
</source>



Latest revision as of 09:22, 26 October 2017

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]