Displayrand: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
mNo edit summary
mNo edit summary
Line 7: Line 7:


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

Revision as of 13:08, 21 April 2008

displayrand <gamevar>

This function generates a random number and assigns it to <gamevar>. Since this function is sync safe, it can be used in unsynchronized code.

See displayrandvar, displayrandvarvar, randomseed.