Posts: 235
Threads: 78
Joined: Apr 2010
Reputation:
0
How can I eg when a player has a 10HP NPC doctor to come to him and set her life on the 100? anyway .. it does not matter one way player and then give a command NPCs to come to him .. can be done?
Posts: 860
Threads: 10
Joined: Aug 2008
Reputation:
0
NPC can't reach anywhere until you record them to. You can't make NPC get to a specified location as we don't have access to their .REC file. So, it's not possible, to make a NPC come to a player.
Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
Actually it's possible (I guess).
All you have to do is get the player pos and then set the NPC facing angle to the player. Then apply a walk animation to it.
Well with that the NPC will come to the player but if there's wall between the path then idk what will happen.
Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
Well timer can do the trick.