Following The Character

Discussion in 'How Can I...?' started by User 123, Oct 10, 2020.

  1. User 123

    User 123 Boxer

    Joined:
    Oct 1, 2020
    Messages:
    16
    Likes Received:
    1
    Hello Boxers!
    I am making a game in which a police would catch a theif.Now how can I make the police follow the theif without the game over screen?
     
  2. atumxstudios

    atumxstudios Boxer

    Joined:
    Sep 28, 2020
    Messages:
    12
    Likes Received:
    3
    I remember there being a youtube video for a buildbox game game. In that video there were links to different customized nodes. One being a follow node, but it was only for a dynamic character
     
  3. atumxstudios

    atumxstudios Boxer

    Joined:
    Sep 28, 2020
    Messages:
    12
    Likes Received:
    3
  4. User 123

    User 123 Boxer

    Joined:
    Oct 1, 2020
    Messages:
    16
    Likes Received:
    1
    Thank you very much.It helped me alot!
     
  5. User 123

    User 123 Boxer

    Joined:
    Oct 1, 2020
    Messages:
    16
    Likes Received:
    1
    But when I do it I am getting an error "Syntax error:return not in function"
     
  6. atumxstudios

    atumxstudios Boxer

    Joined:
    Sep 28, 2020
    Messages:
    12
    Likes Received:
    3
    Hmm, I've never gotten that error. I believe a node gets dropped into the enemy's character node map, then if you set the distance to Zero, the enemy will be able to collide with the character once it catches up. I'll take some pictures today and post them for you to be able to set up
     

Share This Page