Modvarvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
modvarvar <gamevar1> <gamevar2>
modvarvar <gamevar1> <gamevar2>


modvarvar command sets <gamevar1> to <gamevar1>%<gamevar2>. It's a math opration which calculates a modulus (aka remainder) of <gamevar1>/<gamevar2>.
modvarvar 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 17:10, 3 March 2008

modvarvar <gamevar1> <gamevar2>

modvarvar command sets <gamevar1> to <gamevar1>%<gamevar2>. It's a math operation which calculates a modulus (aka remainder) of <gamevar1>/<gamevar2>.