Divvarvar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) m grammar & spelling |
||
Line 3: | Line 3: | ||
divvarvar command sets <gamevar1> to <gamevar1>/<gamevar2>. | divvarvar command sets <gamevar1> to <gamevar1>/<gamevar2>. | ||
EDuke32 will return an error warning if you try to divide a number by zero. So if you are going to divide by a gamevar that eventually returns a value of zero, you may want to verify that <gamevar2> equals zero. | |||
[[Category:EDuke commands]] | [[Category:EDuke commands]] | ||
[[Category:Gamevar manipulation]] | [[Category:Gamevar manipulation]] |
Revision as of 14:25, 18 January 2009
divvarvar <gamevar1> <gamevar2>
divvarvar command sets <gamevar1> to <gamevar1>/<gamevar2>.
EDuke32 will return an error warning if you try to divide a number by zero. So if you are going to divide by a gamevar that eventually returns a value of zero, you may want to verify that <gamevar2> equals zero.