Way to Generate a Random Code?

guru-at-zidwareguru-at-zidware Member Posts: 369
edited November -1 in Working with GS (Mac)
Has anyway included random number generation for codes in their
games? Any ideas the best way to gen and show? Thx...

John

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi, if you mean say a four number code for instance, that'll be as straightforward as smaller numbers, just set up an integer att. Then change attribute to random(1000,9999) then each time this is done you'll get a different 4 fig. number to use. Hope that's what your after! :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • guru-at-zidwareguru-at-zidware Member Posts: 369
    let me try..yes! thx..
Sign In or Register to comment.