GetLocalCameraId

From Nomad DB

Retrieves the ID of the local player's camera entity.

Syntax

GetLocalCameraId(playerEntityId)
  • playerEntityId (string): The ID of the player to get the camera for, can only be the local player
  • Returns: EntityId

Example

GetLocalCameraId(GetLocalPlayerEntityId())

Related Pages