Shiftvarr - EDukeWiki

# Shiftvarr

From EDukeWiki

shiftvarr <gamevar> <number>

Shifts the value of <gamevar> <number> bits to the right. See shiftvarl.

If the gamevar is shifted right with 1, then it will halve the value of the gamevar. If you shift it right with 2, then it will halve the number, and then halve it again.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Shiftvarr&oldid=11582"
Categories:

- EDuke32 specific commands
- Gamevar manipulation