Description
Wiki Description
Returns the total amount of XP required to obtain the specified level. This is not the amount of xp between two levels.
Documentation Comment
Return the total amount of XP required to get to the particular level (not the gap between two levels)
Caveats
Parameters
intauiLevel
CK Wiki Description
The level to get the required XP for.
Examples
; Print out some XP stats
Debug.Trace("Level 2 requires " + Game.GetXPForLevel(2) + " XP in total")
Debug.Trace("To go from level 2 to level 4 requires " + (Game.GetXPForLevel(4) - Game.GetXPForLevel(2)) + " XP")Auto-Generated Example
int myInt__auiLevel
int returnedValue = Game.GetXPForLevel(myInt__auiLevel)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
