Weapon xoffset

From EDukeWiki
Revision as of 14:18, 11 January 2009 by 201.21.216.205 (talk)
Jump to navigation Jump to search

weapon_xoffset is a constantly updated gamevar holding the offset for the x position of a sprite for weapon sway.

It varies from 2 to 22. In opposite to the weapon draw onscreen which range from 32 from left to right, weapon_xoffset value range only 20.