playMaker

Author Topic: A* Pathfinder change target object  (Read 940 times)

Anflo

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
A* Pathfinder change target object
« on: March 05, 2015, 03:24:42 PM »
How can I change the target gameobject in AIPath script while running the game?. I have tried the "get property" and "set property" and it manage to change the name in the field but the seeker still looks for the first object ignoring the new name in the field.
I know I can use some tricks to do this but I would like to know if there is a proper way to do it without it looking a mess.
Thanks in advance
Antonio