Difference between revisions of "random"
Jump to navigation
Jump to search
(add. ArmA2 classification) |
|||
Line 43: | Line 43: | ||
[[Category:Scripting Commands ArmA|RANDOM]] | [[Category:Scripting Commands ArmA|RANDOM]] | ||
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]] | ||
+ | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] |
Revision as of 18:10, 3 June 2009
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.
To return a whole number use either round, ceil or floor together with random: