Is it possible?

crapscraps Member Posts: 353
edited November -1 in Working with GS (Mac)
Would it be possible to have an actor that would generate a random number between 2 and 12 when activated?

Comments

  • mrfunkleberrymrfunkleberry Member Posts: 424
    random(2,12)
  • quantumsheepquantumsheep Member Posts: 8,188
    8!

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • crapscraps Member Posts: 353
    Funny - Let me be more specific - how would I go about having an actor (button) generate and display a random number when touched?

    Thanks - I was actually thinking about 8 also - quantumsheep you win!
  • crapscraps Member Posts: 353
    Make game ? attribute
    Rule - actor is touched - pressed
    ----change attribute - game.game.number - to- random(2,12)
    ----????

    Am I on the right track ?
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    Yes, but you should do it twice random(1,6) once for each die...
  • reddotincreddotinc Member Posts: 653
    IntelligentDesigner said:
    Yes, but you should do it twice random(1,6) once for each die...

    when did he mention dice??
  • AfterBurnettAfterBurnett Member Posts: 3,474
    He didn't... he meant dye. For multi-coloured underwear.
  • crapscraps Member Posts: 353
    Then how do I get either a text to display the random number or have a image display the number?
Sign In or Register to comment.