Cam Target V2
Camera target packet is used to attach to camera on another entity in the scene. If the entity by the specified index cannot be found in the client, the camera will always be focused back on the local player. Furthermore, depth buffering (z-buffer) will be enabled if the WorldEntityTarget type is used. Other types will use the traditional priority system.
Types
A sealed interface for various camera target types.
Camera target type for NPCs. This will focus the camera on a specific NPC. If the NPC by the specified index cannot be found, the camera will be set back on local player.
Camera target type for players. This will focus the camera on a specific player. If the player by the specified index cannot be found, the camera will be set back on local player.
Camera target type for world entities. This will focus the camera on a specific world entity. If the world entity by the specified index cannot be found, the camera will be set back on local player. If a player index is provided, the client will try to look up that player in the root player's current world entity and lock the camera onto them. Additionally, depth buffering (z-buffer) will be enabled when this type of camera target is used.