GetPlayerLevel - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Obtains the player's current level.

Syntax[edit | edit source]

int Function GetPlayerLevel() global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The player's current level.

Examples[edit | edit source]

; Obtain the player's current level
Debug.Trace("The player is currently level " + Game.GetPlayerLevel())

See Also[edit | edit source]