random

From Bohemia Interactive Community
Revision as of 18:09, 28 September 2006 by Suma (talk | contribs) (Interval inclusivity clarified.)
Jump to navigation Jump to search

Template:Command

Notes

Be careful using random numbers in multiplayer, each client will come up with a different result. See multiplayer tutorials for more general information about locality. The number returned is unlikely to be a whole number (e.g. 1, 4, 76, etc.). To return a whole number combine random and mod.

Bottom Section