Random...

DimensionGamesDimensionGames PRO Posts: 993
edited November -1 in Working with GS (Mac)
hey all, just been wondering of late how to make the best random set of numbers e.g. I want numbers between 1-30 so I guess the min and max are involved.

Secondly is it possible to have 3 attributes and 1 is selected at random?

Cheers :)

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    There is a random function where you can set a min and max to select and for selecting between three attributes I would make an integer attribute call selector and set the random to be 1 to 3 and then based on what game.selector is you can specify which of the three attributes to choose.
  • DimensionGamesDimensionGames PRO Posts: 993
    Exactly what I needed! I seem to be brain dead at the moment!

    Cheers :)
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Glad to help
  • DimensionGamesDimensionGames PRO Posts: 993
Sign In or Register to comment.