WoW:API random: Difference between revisions

41 bytes removed ,  25 March 2010
{{luaapi}}
(Removed Randomseed Sorry don't know how to make the little arrow for the source)
({{luaapi}})
Line 1: Line 1:
{{:Lua/Libshortcut|random|math.random}}
{{luaapi}}
== math.random==
val = math.random([l [, u]]);
 
val = random([l [, u]]);
=== Usage ===
 
val = math.random([l, u]);


=== Description ===
=== Description ===
Line 48: Line 45:
It has been suggested that the game client might seed the RNG when it is started  
It has been suggested that the game client might seed the RNG when it is started  


Source  
Source: http://forums.worldofwarcraft.com/thread.html?topicId=15443405133&sid=1&pageNo=10
http://forums.worldofwarcraft.com/thread.html?topicId=15443405133&sid=1&pageNo=10
 
{{LUA}}