Modvar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
'''modvar''' <gamevar> <value> | '''modvar''' <gamevar> <value> | ||
This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus (aka | This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus (aka remainder) of <gamevar>/<value>. | ||
[[Category:EDuke commands]] | [[Category:EDuke commands]] | ||
[[Category:Gamevar manipulation]] | [[Category:Gamevar manipulation]] |
Revision as of 18:39, 26 July 2010
modvar <gamevar> <value>
This command sets <gamevar> to <gamevar>%<value>. It's a math operation which calculates a modulus (aka remainder) of <gamevar>/<value>.