Busy function

BrynjeBamsenBrynjeBamsen Member Posts: 188
edited November -1 in Working with GS (Mac)
Hi GS'ers

Ive tried to make this for some time now.
I have a rotating actor that spins for 10 sec when touch is pressed.

How do i disable touch during ration

Comments

  • BrynjeBamsenBrynjeBamsen Member Posts: 188
    bumb
  • magic101himagic101hi Member Posts: 713
    Make an attribute Game.Spinning and set it to false

    then when touch is pressed then
    rotate for 10 seconds and
    change game.spinning to true

    after 10 seconds change game.spinning to false

    and on all your other actors if game.spinning is false AND touch is pressed then
    blah blah

    Hope I helped.

    -Josh
Sign In or Register to comment.