/tg/ Station 13 - Modules - TypesVar Details - Proc Details

camera

Eye mob used to look around a camera network.
As it moves, it makes requests to the network to update what the user can and cannot see.

Vars

static_visibility_rangeNxN Range of a single camera chunk.
use_visibilityIf TRUE, the eye will cover turfs hidden to the cameranet with static.
visibleCameraChunksList of camera chunks visible to this camera. Please don't interface with this directly. Use the cameranet.

Procs

GetViewerClientGetter proc for getting the current user's client.
setLocUse this when setting the camera eye's location directly.
It will also attempt to update visible chunks.
update_visibilitySends a visibility query to the cameranet. Can be used as a signal handler.

Var Details

static_visibility_range

NxN Range of a single camera chunk.

use_visibility

If TRUE, the eye will cover turfs hidden to the cameranet with static.

visibleCameraChunks

List of camera chunks visible to this camera. Please don't interface with this directly. Use the cameranet.

Proc Details

GetViewerClient

Getter proc for getting the current user's client.

The base version of this proc returns null. Subtypes are expected to overload this proc and make it return something meaningful.

setLoc

Use this when setting the camera eye's location directly.
It will also attempt to update visible chunks.

update_visibility

Sends a visibility query to the cameranet. Can be used as a signal handler.