Displayrandvarvar: Difference between revisions
Jump to navigation
Jump to search
Hunter byte (talk | contribs) mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
displayrandvarvar <gamevar1> <gamevar2> | '''displayrandvarvar''' <gamevar1> <gamevar2> | ||
This function generates a random number from 0 to <gamevar2> and assigns it to <gamevar1>. | This function generates a random number from 0 to <gamevar2> and assigns it to <gamevar1>. |
Revision as of 11:07, 4 May 2009
displayrandvarvar <gamevar1> <gamevar2>
This function generates a random number from 0 to <gamevar2> and assigns it to <gamevar1>.
Unlike randvarvar, this command can be used in unsynchronized code.