Get an actor to move randomly.

3d103d10 Member Posts: 471
edited November -1 in Working with GS (Mac)
Hi,
I want my actor to move randomly on a background in top down view.
How this can be done.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Try this:

    Timer every 5 seconds run to completion checked
    -move to x: random(0,480) y: random(0,320)
  • 3d103d10 Member Posts: 471
    Yes thanks that would work but still i was thinking randomly in terms of a path where actor can move on that and not everywhere.But i would do this.
Sign In or Register to comment.