Move to problems

BrundiBrundi Member Posts: 60

I Have a very simple question when i use the move to behaviour it just stops when it reaches its destination and i have tried changing it from run to completion and not and it still stops. How do i make it keep moving to the mouse position every time i click

Thanks, Brandon

Best Answer

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,772
    Accepted Answer

    Ah okay, silly me. I didn't have the rule set up correctly to initiate the Move To. A sample is attached for you to check out if you like.

Answers

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    You would need to store the X and Y location of the click in two attributes and then trigger the Move To each time a click is registered.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Hmm, weird. It's not working as expected... wonder if its a bug.

  • BrundiBrundi Member Posts: 60
    edited June 2014

    Ha, It worked for me. I did - When touch is outside - move to - game.touches.touch1X by game.touches.touch1X without having run to completion checked

  • BrundiBrundi Member Posts: 60

    Ok thanks jamie

Sign In or Register to comment.