byond - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/atom/signals_atom.dm

COMSIG_ATOM_DECORATEDFrom /atom/proc/Decorate
COMSIG_ATOM_DIR_CHANGEfrom base of atom/setDir(): (old_dir, new_dir). Called before the direction changes.
COMSIG_ATOM_TEMPORARY_ANIMATION_STARTgenerally called before temporary non-parallel animate()s on the atom (animation_duration)
COMSIG_ATOM_ORBIT_BEGINcalled when an atom starts orbiting another atom: (atom)
COMSIG_ATOM_ORBIT_STOPcalled when an atom stops orbiting another atom: (atom)
COMSIG_ATOM_HITBYfrom /atom/hitby(): (atom/movable/AM)
COMSIG_ATOM_TURF_CHANGEfrom /turf/ChangeTurf
COMSIG_ATOM_SET_LIGHT_RANGECalled right before the atom changes the value of light_range to a different one, from base atom/set_light_range(): (new_range)
COMSIG_ATOM_SET_LIGHT_POWERCalled right before the atom changes the value of light_power to a different one, from base atom/set_light_power(): (new_power)
COMSIG_ATOM_SET_LIGHT_COLORCalled right before the atom changes the value of light_color to a different one, from base atom/set_light_color(): (new_color)
COMSIG_ATOM_SET_LIGHT_ONCalled right before the atom changes the value of light_on to a different one, from base atom/set_light_on(): (new_value)
COMSIG_ATOM_SET_LIGHT_FLAGSCalled right before the atom changes the value of light_flags to a different one, from base atom/set_light_flags(): (new_value)
COMSIG_ATOM_SET_OPACITYfrom base of atom/set_opacity(): (new_opacity)
COMSIG_ATOM_VV_MODIFY_TRANSFORMWhen the transform or an atom is varedited through vv topic.
COMSIG_ATOM_DROPPED_ONCalled when an atom has something mouse dropped on it, from /client/MouseDrop: (atom/dropped_on)
COMSIG_ATOM_DROP_ONCalled when an atom is mouse dropped on another atom, from /client/MouseDrop: (atom/dropped_onto)
COMSIG_ATOM_EMP_ACTCalled when an atom has emp_act called on it, from /atom/emp_act: (severity)

Define Details

COMSIG_ATOM_DECORATED

From /atom/proc/Decorate

COMSIG_ATOM_DIR_CHANGE

from base of atom/setDir(): (old_dir, new_dir). Called before the direction changes.

COMSIG_ATOM_DROPPED_ON

Called when an atom has something mouse dropped on it, from /client/MouseDrop: (atom/dropped_on)

COMSIG_ATOM_DROP_ON

Called when an atom is mouse dropped on another atom, from /client/MouseDrop: (atom/dropped_onto)

COMSIG_ATOM_EMP_ACT

Called when an atom has emp_act called on it, from /atom/emp_act: (severity)

COMSIG_ATOM_HITBY

from /atom/hitby(): (atom/movable/AM)

COMSIG_ATOM_ORBIT_BEGIN

called when an atom starts orbiting another atom: (atom)

COMSIG_ATOM_ORBIT_STOP

called when an atom stops orbiting another atom: (atom)

COMSIG_ATOM_SET_LIGHT_COLOR

Called right before the atom changes the value of light_color to a different one, from base atom/set_light_color(): (new_color)

COMSIG_ATOM_SET_LIGHT_FLAGS

Called right before the atom changes the value of light_flags to a different one, from base atom/set_light_flags(): (new_value)

COMSIG_ATOM_SET_LIGHT_ON

Called right before the atom changes the value of light_on to a different one, from base atom/set_light_on(): (new_value)

COMSIG_ATOM_SET_LIGHT_POWER

Called right before the atom changes the value of light_power to a different one, from base atom/set_light_power(): (new_power)

COMSIG_ATOM_SET_LIGHT_RANGE

Called right before the atom changes the value of light_range to a different one, from base atom/set_light_range(): (new_range)

COMSIG_ATOM_SET_OPACITY

from base of atom/set_opacity(): (new_opacity)

COMSIG_ATOM_TEMPORARY_ANIMATION_START

generally called before temporary non-parallel animate()s on the atom (animation_duration)

COMSIG_ATOM_TURF_CHANGE

from /turf/ChangeTurf

COMSIG_ATOM_VV_MODIFY_TRANSFORM

When the transform or an atom is varedited through vv topic.