GetPlayer - Game

(Redirected from GetPlayer (Papyrus))

Member of: Game Script

Obtains the actor representing the player.

SyntaxEdit

Actor Function GetPlayer() native global

ParametersEdit

None

Return ValueEdit

The Actor that represents the player.

ExamplesEdit

; Print out the player to the log
Debug.Trace("Player is " + Game.GetPlayer())

See AlsoEdit