Game Editor discussion boardhttp://game-editor.com/forum/
http://game-editor.com/forum/viewtopic.php?f=1&t=4097
yourvariable = round(rand(maxvalue));