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* |
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* |
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 |
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 |