SetPlayerLevel

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Set the Player's level. Requires SKSE 1.7.02

Syntax[edit | edit source]

Function SetPlayerLevel(int level) global native

Parameters[edit | edit source]

int Level: The level to set the Player's level to.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Change the player's level to 5
Game.SetPlayerLevel(5)

Notes[edit | edit source]

  • Unlike the console command, this function will also update the levels of Actors.