Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.81 KB

engine_game_trace.md

File metadata and controls

48 lines (35 loc) · 1.81 KB

🚜 engine_game_trace

Functions:

get_line

engine_game_trace.get_line(start_x, start_y, start_z, end_x, end_y, end_z, mask, ignore): game_trace*

Name Type
x/y/z float
mask trace_mask
ignore c_client_entity*

get_hull

engine_game_trace.get_line(start_x, start_y, start_z, end_x, end_y, end_z, mins_x, mins_y, mins_z, maxs_x, maxs_y, maxs_z, mask, ignore): game_trace*

Name Type
x/y/z float
mask trace_mask
ignore c_client_entity*

autowall_trace

engine_game_trace.autowall_trace(enemy, hitpoint_x, hitpoint_y, hitpoint_z, hitbox): autowall*

Name Type
enemy c_cs_player*
hitpoint_x float
hitpoint_y float
hitpoint_z float
hitbox int

can_hit_hitbox

engine_game_trace.can_hit_hitbox(c_cs_player* shooter, c_cs_player* victim, float end_x, float end_y, float end_z, int hitbox) bool

Name Type
shooter c_cs_player*
victim c_cs_player*
end_x float
end_y float
end_z float
hitbox int