EVENT GETSHOTRANGE

From EDukeWiki
Jump to navigation Jump to search

EVENT_GETSHOTRANGE is a Game Event.

This event is triggered at the moment that a hitscan projectile is fired from a player, including the pistol, shotgun and chaingun (this includes all weapon that hit instantly rather than traveling through the air). Adjusting ANGRANGE and ZRANGE will effect the degree of randomness of the projectile's trajectory. The default value for ANGRANGE is 32, and 256 for ZRANGE.