byond - Modules - TypesVar Details - Proc Details

M707 spotting tripod

Vars

bound_rifleWeakref to the associated rifle
darkness_viewHow much to increase the user's dark vision by
max_sniper_distanceThe maximum distance this can be from the sniper scope
scope_attachedIf the tripod has an attached spotting scope
scope_userWeakref to the scope user, if any
scope_usingIf the scope is currently being used
scope_zoomHow far out the scope zooms
skilllessIf this requires the vulture_user trait to use
unscope_actionRef to the action to give the user of the scope

Procs

do_unscopeHandler for when the user should be unscoping
fold_upHandler for user folding up the tripod, picking it up
get_vulture_scopeGetter for the vulture scope on the sniper
on_scope_attachHandler for when the scope is being attached to the tripod
on_screwdriverHandler for when the scope is being detached from the tripod by screwdriver
on_vulture_moveHandler for when the vulture spotter scope moves
on_vulture_unscopeHandler for when the sniper unscopes
rotateRotates the tripod 90* counter-clockwise
set_scope_locSets the scope's sight location to the same as the sniper's
try_scopeChecks if the user is able to use the scope, uses it if so
unscopeUnscopes the user, cleaning up everything related
update_pixelsUpdates the direction the operator should be facing, and their pixel offset

Var Details

bound_rifle

Weakref to the associated rifle

darkness_view

How much to increase the user's dark vision by

max_sniper_distance

The maximum distance this can be from the sniper scope

scope_attached

If the tripod has an attached spotting scope

scope_user

Weakref to the scope user, if any

scope_using

If the scope is currently being used

scope_zoom

How far out the scope zooms

skillless

If this requires the vulture_user trait to use

unscope_action

Ref to the action to give the user of the scope

Proc Details

do_unscope

Handler for when the user should be unscoping

fold_up

Handler for user folding up the tripod, picking it up

get_vulture_scope

Getter for the vulture scope on the sniper

on_scope_attach

Handler for when the scope is being attached to the tripod

on_screwdriver

Handler for when the scope is being detached from the tripod by screwdriver

on_vulture_move

Handler for when the vulture spotter scope moves

on_vulture_unscope

Handler for when the sniper unscopes

rotate

Rotates the tripod 90* counter-clockwise

set_scope_loc

Sets the scope's sight location to the same as the sniper's

try_scope

Checks if the user is able to use the scope, uses it if so

unscope

Unscopes the user, cleaning up everything related

update_pixels

Updates the direction the operator should be facing, and their pixel offset