unreal.LocalPlayer

class unreal.LocalPlayer(outer=None, name='None')

Bases: unreal.Player

Each player that is active on the current client has a LocalPlayer. It stays active across maps There may be several spawned in the case of splitscreen/coop. There may be 0 spawned on servers.

C++ Source:

  • Module: Engine

  • File: LocalPlayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • sent_split_join (bool): [Read-Only] Sent Split Join: set when we’ve sent a split join request