Difference between revisions of "GetPlayerExperience - Game"

Jump to navigation Jump to search
m
imported>Lisselli
m (→‎Examples: removed unnecessary variable.)
imported>Lisselli
Line 17: Line 17:
Float Function GetExperienceRemaining()
Float Function GetExperienceRemaining()
; returns the amount of experience remaining for the current level.
; returns the amount of experience remaining for the current level.
Return Game.GetExperienceForLevel(Game.GetPlayer().GetLevel()) - Game.GetPlayerExperience()
Return Game.GetExperienceForLevel(Game.GetPlayer().GetLevel()) - Game.GetPlayerExperience())
EndFunction
EndFunction
</source>
</source>
Anonymous user

Navigation menu