antiaim_context_t
Info
antiaim context can only be retrieved via the ANTIAIM callback in all examples below ctx is the antiaim context
Functions#
set_pitch#
overrides the pitch for the next antiaim call
Example
| Fields | Description |
|---|---|
pitchfloat |
set_yaw#
overrides the yaw for the next antiaim call
| Fields | Description |
|---|---|
yawfloat |
Example
set_desync#
overrides the desync delta for the next antiaim call
| Fields | Description |
|---|---|
desync_factorfloat |
desync factor (range -1···1) |
Example
set_body_lean#
overrides the body lean delta for the next antiaim call
| Fields | Description |
|---|---|
lean_factorfloat |
body lean factor (range -1···1) |
always_body_leanbool |
[optional] always body leans |
Example
set_render_pose#
overrides the specified pose parameter for the next local animation update
| Fields | Description |
|---|---|
pose_indexe_poses |
the pose parameter to override |
pose_valuefloat |
the new pose parameter value |
Example
set_render_animlayer#
overrides the specified animlayer for the next local animation update
| Fields | Description |
|---|---|
layer_indexe_animlayers |
the animlayer to override |
weightfloat |
the weight that will be applied to the animlayer, set to -1.0 if you dont want to override it |
cyclefloat |
the cycle that will be applied to the animlayer, set to -1.0 if you dont want to override it |
Example
set_invert_desync#
overrides the desync invert for the next antiaim call
| Fields | Description |
|---|---|
invertfloat |
whether it should be inverted |
Example
set_invert_body_lean#
overrides the desync invert for the next antiaim call
| Fields | Description |
|---|---|
invertfloat |
whether it should be inverted |
Example
set_fakelag#
overrides whether the current tick will be a choked tick or not
| Fields | Description |
|---|---|
should_lagfloat |
whether this tick will be choked |
Example
ctx:set_fakelag(true) -- forces current tick to be choked
-- or...
ctx:set_fakelag(false) -- forces current tick to be sent