Background for Fallout 4
Member of the Game script
ActorfunctionGetPlayer()NativeGlobal

Description

Wiki Description

Obtains the actor representing the player.

Documentation Comment

Returns the player actor


Caveats


Examples

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

Auto-Generated Example

Actor returnedValue = Game.GetPlayer()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.