Location = random + attribute

drentekdrentek Member, PRO Posts: 25
edited November -1 in Working with GS (Mac)
Hi Everyone,

I am trying to set up a behaviour where an actor spawns to target location plus or minus 20. The location is where the touch has been presses. So I have it running something like this:

Spawn actor - location = touchx+random(+10,-10)

Any help would be great thanks

Craig

Comments

  • drentekdrentek Member, PRO Posts: 25
    Thanks that did the trick. Also your tuts have helped immensely. :)
Sign In or Register to comment.