Shiftvarl: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
Line 2: Line 2:


Shifts the value of <[[gamevar]]> <number> bits to the left.  See [[shiftvarr]].
Shifts the value of <[[gamevar]]> <number> bits to the left.  See [[shiftvarr]].
If the gamevar is shifted left with 1, then it will halve the value of the gamevar. If you shift it left with 2, then it will halve the number, and then halve it again.


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 23:13, 7 May 2011

shiftvarl <gamevar> <number>

Shifts the value of <gamevar> <number> bits to the left. See shiftvarr. If the gamevar is shifted left with 1, then it will halve the value of the gamevar. If you shift it left with 2, then it will halve the number, and then halve it again.