Modvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m spelling mistake, grammar to be checked
One (talk | contribs)
No edit summary
Line 1: Line 1:
modvar <gamevar> <value>
'''modvar''' <gamevar> <value>


modvar command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus(aka reminder) of <gamevar>/<value>.
This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus(aka reminder) of <gamevar>/<value>.




[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 13:05, 4 May 2009

modvar <gamevar> <value>

This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus(aka reminder) of <gamevar>/<value>.