Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 1.32 KB

File metadata and controls

46 lines (41 loc) · 1.32 KB

RegisteredShot

{% hint style="info" %} You can access RegisteredShot instance through registered_shot callback {% endhint %}

{% hint style="info" %} Miss reasons:

Value Description
0 Hit
1 Resolver
2 Spread
3 Occlusion
4 Prediction error
{% endhint %}

{% hint style="info" %} Hitgroups

Value Description
0 Generic
1 Head
2 Chest
3 Stomach
4 Left arm
5 Right arm
6 Left leg
7 Right leg
10 Gear
{% endhint %}

Fields:

Name Type Description
hitchance int Chance to hit target
backtrack int How many ticks was backtracked
hitgroup int HitGroup
damage int Damage
target_index int Target ent index
reason int Miss reason
spread_degree float Spread angle
wanted_hitgroup int Wanted Hitgroup
wanted_damage int Wanted damage
shoot_pos vector3d shoot pos