byond - Modules - TypesVar Details - Proc Details

autofire

Vars

auto_burst_fire_shot_delayDelay between two volley of burst
auto_fire_shot_delayDelay between two shots when in full auto
burst_shots_to_fireHow many bullets are fired in burst mode
burstfire_shot_delayDelay between two burst shots
burstingIf we are in a burst
callback_burstingCallback to set bursting mode on the parent
callback_fireCallback to ask the parent to fire
callback_reset_fireCallback to ask the parent to reset its firing vars
fire_modeThe current fire mode of the shooter
have_to_reset_at_burst_endIf TRUE, the shooter will reset its references at the end of the burst
shootingIf the shooter is currently shooting
shots_firedCount the shots fired when bursting

Procs

hard_resetWe are burst firing, we can't clean the state now. We will do it when the burst is over Hard reset the autofire, happens when the shooter fall/is thrown, at the end of a burst or when it runs out of ammunition
initiate_shotInsert the component in the bucket system if it was not in already
modify_autoburstfire_shot_delaySetter for autoburst shot delay
modify_burst_shots_to_fireSetter for the number of shot in a burst
modify_burstfire_shot_delaySetter for burst shot delay
modify_fire_modeSetter for fire mode
modify_fire_shot_delaySetter for auto fire shot delay
process_shotAsk the shooter to fire and schedule the next shot if need
stop_firingRemove the component from the bucket system if it was in

Var Details

auto_burst_fire_shot_delay

Delay between two volley of burst

auto_fire_shot_delay

Delay between two shots when in full auto

burst_shots_to_fire

How many bullets are fired in burst mode

burstfire_shot_delay

Delay between two burst shots

bursting

If we are in a burst

callback_bursting

Callback to set bursting mode on the parent

callback_fire

Callback to ask the parent to fire

callback_reset_fire

Callback to ask the parent to reset its firing vars

fire_mode

The current fire mode of the shooter

have_to_reset_at_burst_end

If TRUE, the shooter will reset its references at the end of the burst

shooting

If the shooter is currently shooting

shots_fired

Count the shots fired when bursting

Proc Details

hard_reset

We are burst firing, we can't clean the state now. We will do it when the burst is over Hard reset the autofire, happens when the shooter fall/is thrown, at the end of a burst or when it runs out of ammunition

initiate_shot

Insert the component in the bucket system if it was not in already

modify_autoburstfire_shot_delay

Setter for autoburst shot delay

modify_burst_shots_to_fire

Setter for the number of shot in a burst

modify_burstfire_shot_delay

Setter for burst shot delay

modify_fire_mode

Setter for fire mode

modify_fire_shot_delay

Setter for auto fire shot delay

process_shot

Ask the shooter to fire and schedule the next shot if need

stop_firing

Remove the component from the bucket system if it was in