byond - Modules - TypesProc Details

/datum/cas_fire_envelope

Procs

change_directionChange attack vector for firemission
chat_warningStep 2, 3, 4: Warns nearby mobs of the incoming fire mission. Warning as 1 is non-precise, whereas 2 and 3 are precise.
end_cooldownStep 7: Sets the fire mission stat to FIRE_MISSION_STATE_IDLE
flyoffStep 6: Sets the fire mission stat to FIRE_MISSION_STATE_COOLDOWN
on_tracked_object_delSignal handler for when we are viewing a object in cam is qdel'd (but camera actually is actually some other obj)
open_fireStep 5: Actually executes the fire mission updating stat to FIRE_MISSION_STATE_FIRING and then FIRE_MISSION_STATE_OFF_TARGET
play_soundStep 1: Sets the stat to FIRE_MISSION_STATE_ON_TARGET and starts the sound effect for the fire mission.
untrack_objectCall to unregister the on_tracked_object_del behavior

Proc Details

change_direction

Change attack vector for firemission

chat_warning

Step 2, 3, 4: Warns nearby mobs of the incoming fire mission. Warning as 1 is non-precise, whereas 2 and 3 are precise.

end_cooldown

Step 7: Sets the fire mission stat to FIRE_MISSION_STATE_IDLE

flyoff

Step 6: Sets the fire mission stat to FIRE_MISSION_STATE_COOLDOWN

on_tracked_object_del

Signal handler for when we are viewing a object in cam is qdel'd (but camera actually is actually some other obj)

open_fire

Step 5: Actually executes the fire mission updating stat to FIRE_MISSION_STATE_FIRING and then FIRE_MISSION_STATE_OFF_TARGET

play_sound

Step 1: Sets the stat to FIRE_MISSION_STATE_ON_TARGET and starts the sound effect for the fire mission.

untrack_object

Call to unregister the on_tracked_object_del behavior