Multiple Move To Behaviours - How to stack? Newbie question :)

Hi, I want to stack Move To behaviors on a actor so that each Move To is performed sequentially and to completion before the next Move To is executed. Eg. The cat moves to x,y THEN moves to another x,y. The Cookbook says that Move and Move To behaviors can either be 'stacked' or 'additive' but although I can see this option within Move I don't see it within Move To. At the moment I'm getting the cat to move to the first x,y and then it stops. Tried using Interpolate on the x,y but run into the same problem ie. it does the first move but not the second. Any tips?

Comments

  • flurospeedoflurospeedo Member Posts: 33
    Further to the above, i am using a Boolean when the button 'move cat' is pressed to trigger the movement ie. if 'move cat' is true then move to x, y THEN move to another x,y. I wonder if this Boolean is getting in the way?
  • famekraftsfamekrafts Member, BASIC Posts: 834
    use when conditons, if self.x position is a move to position b if its b move to c and so on
  • flurospeedoflurospeedo Member Posts: 33
    Thanks wickedsunday, that is a great help!
Sign In or Register to comment.