Weapon xoffset: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Undo revision 7524 by 201.21.216.205 (Talk)
No edit summary
Line 1: Line 1:
weapon_xoffset is a constantly updated [[gamevar]] holding the offset for the x position of a sprite for weapon sway.
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 is only 20.


[[Category:Constantly updated gamevars]]
[[Category:Constantly updated gamevars]]

Revision as of 11:20, 10 January 2009

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 is only 20.