AUTOAIMANGLE

From EDukeWiki
Revision as of 10:34, 5 February 2022 by Doom64hunter (talk | contribs) (Created page with "This determines the horizontal range (a cone from 0-512 * 2, with the center being the player's current angle) at which shots will automatically lock onto enemies when autoaim is active. This variable must be set inside EVENT_GETAUTOAIMANGLE to take effect. The default is 48. Set it to 0 to disable autoaim, or to 512 for a full 180 degree autoaim in front of the player.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This determines the horizontal range (a cone from 0-512 * 2, with the center being the player's current angle) at which shots will automatically lock onto enemies when autoaim is active.

This variable must be set inside EVENT_GETAUTOAIMANGLE to take effect.

The default is 48. Set it to 0 to disable autoaim, or to 512 for a full 180 degree autoaim in front of the player.