EVENT GETAUTOAIMANGLE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
EVENT_GETAUTOAIMANGLE is a [[EDuke32_event_list|Game Event]]. | |||
This [[event]] is called when the auto aim angle is desired for the weapon. | |||
Set [[AUTOAIMANGLE]] to zero to disable auto-aim for the weapon. | Set [[AUTOAIMANGLE]] to zero to disable auto-aim for the weapon. |
Revision as of 11:25, 3 May 2009
EVENT_GETAUTOAIMANGLE is a Game Event.
This event is called when the auto aim angle is desired for the weapon.
Set AUTOAIMANGLE to zero to disable auto-aim for the weapon.
Default value for AUTOAIMANGLE is 48.
Example:
onevent EVENT_GETAUTOAIMANGLE getplayer[THISACTOR].curr_weapon TEMP ifvare TEMP PISTOL_WEAPON // the pistol setvar AUTOAIMANGLE 64 // a 'wider' auto-aim angle. endevent