byond - Modules - TypesDefine Details

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

COMSIG_BULLET_ACT_LIVINGCalled when a bullet hits a living mob
COMSIG_POST_BULLET_ACT_HUMANCalled when a bullet hits a human
COMSIG_BULLET_ACT_XENOCalled when a bullet hits a xenomorph
COMSIG_BULLET_USER_EFFECTSApply any effects to the bullet (primarily through bullet traits) based on the user
COMSIG_BULLET_CHECK_MOB_SKIPPINGCalled when checking whether bullet should skip mob for whatever reasons (like IFF)
COMSIG_AMMO_POINT_BLANKCalled on point blank for ammo effects
COMSIG_BULLET_PRE_HANDLE_MOBFrom /obj/item/projectile/handle_mob(): (mob/living/target)
COMSIG_BULLET_POST_HANDLE_MOBFrom /obj/item/projectile/handle_mob(): (mob/living/target)
COMSIG_BULLET_POST_HANDLE_OBJFrom /obj/item/projectile/handle_obj(): (obj/target, did_hit)
COMSIG_BULLET_PRE_HANDLE_OBJFrom /obj/item/projectile/handle_obj(): (obj/target)
COMSIG_BULLET_POST_HANDLE_TURFFrom /obj/item/projectile/scan_a_turf(): (turf/target)
COMSIG_BULLET_PRE_HANDLE_TURFFrom /obj/item/projectile/scan_a_turf(): (turf/target)
COMSIG_BULLET_DIRECT_HITCalled when a bullet hits a living mob on a sprite click (original target is final target)

Define Details

COMSIG_AMMO_POINT_BLANK

Called on point blank for ammo effects

COMSIG_BULLET_ACT_LIVING

Called when a bullet hits a living mob

COMSIG_BULLET_ACT_XENO

Called when a bullet hits a xenomorph

COMSIG_BULLET_CHECK_MOB_SKIPPING

Called when checking whether bullet should skip mob for whatever reasons (like IFF)

COMSIG_BULLET_DIRECT_HIT

Called when a bullet hits a living mob on a sprite click (original target is final target)

COMSIG_BULLET_POST_HANDLE_MOB

From /obj/item/projectile/handle_mob(): (mob/living/target)

COMSIG_BULLET_POST_HANDLE_OBJ

From /obj/item/projectile/handle_obj(): (obj/target, did_hit)

COMSIG_BULLET_POST_HANDLE_TURF

From /obj/item/projectile/scan_a_turf(): (turf/target)

COMSIG_BULLET_PRE_HANDLE_MOB

From /obj/item/projectile/handle_mob(): (mob/living/target)

COMSIG_BULLET_PRE_HANDLE_OBJ

From /obj/item/projectile/handle_obj(): (obj/target)

COMSIG_BULLET_PRE_HANDLE_TURF

From /obj/item/projectile/scan_a_turf(): (turf/target)

COMSIG_BULLET_USER_EFFECTS

Apply any effects to the bullet (primarily through bullet traits) based on the user

COMSIG_POST_BULLET_ACT_HUMAN

Called when a bullet hits a human