byond - Modules - TypesVar Details - Proc Details

beacon

This component is used to give stuff beacon functionality.

Vars

activatorThe mob who activated this beacon
activeIs the beacon active?
active_icon_stateThe icon state when this beacon is active
anchorShould the parent anchor on activation?
anchor_timeHow long it takes for this item to activate it's signal/deploy
beacon_camThe camera attached to the beacon
beacon_datumThe reference to the beacon datum

Procs

activateActivates the beacon
clean_beacon_datumIf the signal source dies, the beacon datum should as well
deactivateDeactivates the beacon
on_attack_handThis will only get called when you want to deactivate a beacon, ie clicking a deployed beacon
on_attack_selfThe proc that gets called when the user uses the item in their hand
on_examineAdds an extra line of instructions to the examine
on_update_icon_stateUpdates the icon state of the object to an active state, if it has one
on_update_nameGives the beacon broadcaster object the appropriate, descriptive name
on_z_changeWhat happens when we change Z level
toggle_activationToggles the active state of the beacon

Var Details

activator

The mob who activated this beacon

active

Is the beacon active?

active_icon_state

The icon state when this beacon is active

anchor

Should the parent anchor on activation?

anchor_time

How long it takes for this item to activate it's signal/deploy

beacon_cam

The camera attached to the beacon

beacon_datum

The reference to the beacon datum

Proc Details

activate

Activates the beacon

clean_beacon_datum

If the signal source dies, the beacon datum should as well

deactivate

Deactivates the beacon

on_attack_hand

This will only get called when you want to deactivate a beacon, ie clicking a deployed beacon

on_attack_self

The proc that gets called when the user uses the item in their hand

on_examine

Adds an extra line of instructions to the examine

on_update_icon_state

Updates the icon state of the object to an active state, if it has one

on_update_name

Gives the beacon broadcaster object the appropriate, descriptive name

on_z_change

What happens when we change Z level

toggle_activation

Toggles the active state of the beacon