Modvarvar: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
modvarvar <gamevar1> <gamevar2> | '''modvarvar''' <gamevar1> <gamevar2> | ||
This command sets <gamevar1> to <gamevar1>%<gamevar2>. It's a math operation which calculates a modulus (aka remainder) of <gamevar1>/<gamevar2>. | |||
[[Category:EDuke commands]] | [[Category:EDuke commands]] | ||
[[Category:Gamevar manipulation]] | [[Category:Gamevar manipulation]] |
Revision as of 12:05, 4 May 2009
modvarvar <gamevar1> <gamevar2>
This command sets <gamevar1> to <gamevar1>%<gamevar2>. It's a math operation which calculates a modulus (aka remainder) of <gamevar1>/<gamevar2>.