GetLocalCameraId

From Nomad DB
Revision as of 15:57, 18 April 2020 by Wasdennnoch (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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