From EDukeWiki
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.