diff -r 565e15a60043 -r c07e89eded71 LuaAPI.wiki --- a/LuaAPI.wiki Sat Dec 04 23:16:21 2010 +0000 +++ b/LuaAPI.wiki Sun Dec 05 03:40:20 2010 +0000 @@ -326,7 +326,7 @@ === !GetRandom(number) (0.9.14) === -
Returns a randomly generated number in the range of 0 to number - 1. +
Returns a randomly generated number in the range of 0 to number - 1. This random number uses the game seed, so is synchronised, and thus safe for multiplayer and saved games. Use GetRandom for anything that could impact the engine state. For example, a visual gear can use the Lua random, but adding a regular gear should use GetRandom.
=== !SetWind(windSpeed) (development) ===