Difference between revisions of "GetExperienceForLevel - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Lisselli
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Game Script Returns the required amount of experience for the next level up. (This fun...")
 
imported>Lisselli
m (→‎Syntax: Changed wrong function name to correct name.)
Line 8: Line 8:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
Float Function GetPlayerExperience()
Float Function GetExperienceForLevel()
</source>
</source>
== Return Value ==
== Return Value ==
*Returns the required amount of experience for the current level to level up.
*Returns the required amount of experience for the current level to level up.

Revision as of 09:18, 26 October 2017

SKSE Member of: Game Script

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

Syntax

Float Function GetExperienceForLevel()

Return Value

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

Examples

  • None

Notes

  • 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