Aim mode: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Aim_mode is 1 when mouse aiming is ON and it is 0 if mouse aiming is OFF.
aim_mode is a [[bitfield]].
 
* If bit 0 is set (1), then mouse aiming is on.
* If bit 1 is set (2), then gamepad recentering is active.
* If bit 2 is set (4), then aim assist (for gamepads) is active.
 
[[Category:Player structure members]]
[[Category:Bitfields]]

Latest revision as of 06:33, 20 August 2025

aim_mode is a bitfield.

  • If bit 0 is set (1), then mouse aiming is on.
  • If bit 1 is set (2), then gamepad recentering is active.
  • If bit 2 is set (4), then aim assist (for gamepads) is active.