Displayrandvar: Difference between revisions

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


[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 12:08, 21 April 2008

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.