how do i randomize attribute numbers?

CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
ok so i now how to randomize a set of numbers for spawning monsters at random, but how do i make it so an attribute constantly randomizes from 1 to 10 realy quick, so kind of like a mystery box on subway surfers, its random so you dont know what youll get.

any help would be awesome :)

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    Change attribute to random (1,10)
  • -Timo--Timo- Member Posts: 2,313
    edited November 2013
    for really quick changing an attribute you have to do something like
    every 0.1 seconds change attribute to random(1,10)
  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
    edited November 2013
    @socks / @timolapre1998 didn't know it was that simple haha :/ thanks
Sign In or Register to comment.