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