Automated fire

Vars | |
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 |
Procs | |
reset_buckets | In 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