Displayrandvarvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: 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 unsy...
 
mNo edit summary
Line 5: Line 5:
Unlike [[randvarvar]], this command can be used in unsynchronized code.
Unlike [[randvarvar]], this command can be used in unsynchronized code.


[[Category:EDuke32 specific commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 12:10, 21 April 2008

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.