Divvarvar: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) m grammar & spelling |
No edit summary |
||
Line 1: | Line 1: | ||
divvarvar <gamevar1> <gamevar2> | '''divvarvar''' <gamevar1> <gamevar2> | ||
This 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. | 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. |
Revision as of 11:08, 4 May 2009
divvarvar <gamevar1> <gamevar2>
This 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.