byond - Modules - TypesVar Details - Proc Details

remote_control

Vars

controlledMovable atom being controlled by the component
ctrl_click_procCallback to be run when user left clicks somewhere while remote controlling
is_controllingwhether the component is currently active or not
left_click_procCallback to be run when user left clicks somewhere while remote controlling
right_click_procCallback to be run when user right clicks somewhere while remote controlling
userUser of the component

Procs

disable_controlsI want controls to be disabled before actually qdeling due to some race conditions of my own creation.
invokeInvokes the callback for when the controller clicks
on_control_terminateCalled when Controlling should not be resumed and deleted the component
on_hearCalled when the controlled atom hear a sound
on_relayed_speechCalled when the remote controller wants to speak through the controlled atom
remote_control_offturns remote control off
remote_control_onTurns the remote control on
remote_interactcalled by control click, allow to interact with the target
toggle_remote_controlSelf explanatory, toggles remote control
update_left_clickprocUpdates the clickproc to a passed type of turret
update_right_clickprocUpdates the clickproc to a passed type of ability
uv_handle_clickcalled when a shooty turret attempts to shoot by click
uv_handle_click_explosiveCalled when a explosive vehicle clicks and tries to explde itself

Var Details

controlled

Movable atom being controlled by the component

ctrl_click_proc

Callback to be run when user left clicks somewhere while remote controlling

is_controlling

whether the component is currently active or not

left_click_proc

Callback to be run when user left clicks somewhere while remote controlling

right_click_proc

Callback to be run when user right clicks somewhere while remote controlling

user

User of the component

Proc Details

disable_controls

I want controls to be disabled before actually qdeling due to some race conditions of my own creation.

invoke

Invokes the callback for when the controller clicks

on_control_terminate

Called when Controlling should not be resumed and deleted the component

on_hear

Called when the controlled atom hear a sound

on_relayed_speech

Called when the remote controller wants to speak through the controlled atom

remote_control_off

turns remote control off

remote_control_on

Turns the remote control on

remote_interact

called by control click, allow to interact with the target

toggle_remote_control

Self explanatory, toggles remote control

update_left_clickproc

Updates the clickproc to a passed type of turret

update_right_clickproc

Updates the clickproc to a passed type of ability

uv_handle_click

called when a shooty turret attempts to shoot by click

uv_handle_click_explosive

Called when a explosive vehicle clicks and tries to explde itself