Actor animation random

felipeinfantefelipeinfante Member Posts: 8
edited November -1 in Working with GS (Mac)
I really need help with this...
I am doing a game and I need to make the animation of the actor be random. How can I do that?

Please help!!!

Comments

  • chosenonestudioschosenonestudios Member Posts: 1,714
    every 3 seconds
    change attribute random(1,5)

    when attribute = 1 --> animate
    when attribute = 2 --> animate
    when attribute = 3 --> animate
    when attribute = 4 --> animate
    when attribute = 5 --> animate
  • felipeinfantefelipeinfante Member Posts: 8
    I am really thanksfull for the answer, but I don't know how to inplement this in the game..

    I am like a dummy for game salad...
    Can you please explain it how to do this...
    Thanks!
  • chosenonestudioschosenonestudios Member Posts: 1,714
    Create a attribute (integer)
    Use a timer. Click every blank time.
    Change attribute. Use the drop down menu to hit random. Then type in how many random animations you need (min, max)

    then make a rule, click attribute
    when attribute = 1 then use the animate behavior.

    I would suggest looking at the wiki and support if your new.
  • felipeinfantefelipeinfante Member Posts: 8
    Thank you very much !!!!! I will try this and tell you how I did...

    Thanks, Felipe
Sign In or Register to comment.