Remote Camera Component
Attaches a camera for surveillance-on-the-go.
Vars | |
c_tag_random | Camera random ID |
---|---|
camera_prefix | The shell's type (used for prefix naming) |
camera_range | Camera range flag (near/far) |
camera_range_settable | Allow camera range to be set or not |
camera_signal_move_override | Used only for the BCI shell type, as the COMSIG_MOVABLE_MOVED signal need to be assigned to the user mob, not the shell circuit |
current_camera_emp | Used to store the camera emp state |
current_camera_emp_timer_id | Used to store the camera emp timer id |
current_camera_name | Used to store the last string used for the camera name |
current_camera_network | Used to store the last string used for the camera network |
current_camera_range | Used to store the current camera range setting (near/far) |
current_camera_state | Used to store the current process state |
current_cameranet_state | Used to store the current cameranet state |
network | The network to use |
shell_camera | Camera object |
shell_parent | The shell storing the parent circuit |
start | Starts the cameraa |
stop | Stops the program. |
Procs | |
cameranet_add | Add camera from global cameranet |
cameranet_remove | Remove camera from global cameranet |
close_camera | Close the camera state (only if it's already active) |
init_camera | Initializes the camera |
process | Handle power usage and camera state updating |
remove_camera | Remove the camera |
remove_camera_emp | Restore emp'd camera |
set_camera_emp | Set the camera as emp'd |
start_process | Adds the component to the SSclock_component process list |
stop_process | Removes the component to the SSclock_component process list |
update_camera_location | Update the chunk for the camera (if enabled) |
update_camera_name_network | Updates the camera name and network |
update_camera_range | Set the camera range |
Var Details
c_tag_random
Camera random ID
camera_prefix
The shell's type (used for prefix naming)
camera_range
Camera range flag (near/far)
camera_range_settable
Allow camera range to be set or not
camera_signal_move_override
Used only for the BCI shell type, as the COMSIG_MOVABLE_MOVED signal need to be assigned to the user mob, not the shell circuit
current_camera_emp
Used to store the camera emp state
current_camera_emp_timer_id
Used to store the camera emp timer id
current_camera_name
Used to store the last string used for the camera name
current_camera_network
Used to store the last string used for the camera network
current_camera_range
Used to store the current camera range setting (near/far)
current_camera_state
Used to store the current process state
current_cameranet_state
Used to store the current cameranet state
network
The network to use
shell_camera
Camera object
shell_parent
The shell storing the parent circuit
start
Starts the cameraa
stop
Stops the program.
Proc Details
cameranet_add
Add camera from global cameranet
cameranet_remove
Remove camera from global cameranet
close_camera
Close the camera state (only if it's already active)
init_camera
Initializes the camera
process
Handle power usage and camera state updating
This is the generic abstract proc - subtypes with specialized logic should use their own copy of process()
remove_camera
Remove the camera
remove_camera_emp
Restore emp'd camera
set_camera_emp
Set the camera as emp'd
start_process
Adds the component to the SSclock_component process list
Starts draining cell per second while camera is active
stop_process
Removes the component to the SSclock_component process list
Stops draining cell per second
update_camera_location
Update the chunk for the camera (if enabled)
update_camera_name_network
Updates the camera name and network
update_camera_range
Set the camera range