byond - Modules - TypesVar Details - Proc Details

Automated fire

Vars

bucket_listList of buckets, each bucket holds every shooter that has to shoot this byond tick
bucket_resolutionHow many buckets for every frame of world.fps
head_offsetworld.time of the first entry in the bucket list, effectively the 'start time' of the current buckets
next_shooterReference to the next shooter before we clean shooter.next
practical_offsetIndex of the first non-empty bucket
shooter_countHow many shooter are in the buckets

Procs

reset_bucketsIn the event of a change of world.tick_lag, we refresh the size of the bucket and the bucket resolution

Var Details

bucket_list

List of buckets, each bucket holds every shooter that has to shoot this byond tick

bucket_resolution

How many buckets for every frame of world.fps

head_offset

world.time of the first entry in the bucket list, effectively the 'start time' of the current buckets

next_shooter

Reference to the next shooter before we clean shooter.next

practical_offset

Index of the first non-empty bucket

shooter_count

How many shooter are in the buckets

Proc Details

reset_buckets

In the event of a change of world.tick_lag, we refresh the size of the bucket and the bucket resolution