AUTOAIMANGLE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
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."
 
(No difference)

Latest revision as of 11:34, 5 February 2022

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.