HELP: NPC follow Player using FCNPC.
#3

Quote:
Originally Posted by Freaksken
Посмотреть сообщение
Don't use both functions at the same time.

FCNPC_GoTo:
NPC goes to a point and then stops moving.

FCNPC_GoToPlayer:
NPC goes to a player and keeps following that player, even when that player moves, until it reaches the player and then stops moving.
Very thx friend!!! Now, I have a problem. When I teleport to see the npc in a position it runs out to the position I've spawned, why does this happen?

PHP код:
public Follower(playerid)
    
FCNPC_GoToPlayer(bot1playeridFCNPC_MOVE_TYPE_AUTOFCNPC_MOVE_TYPE_AUTOfalse0.0true0.01.5250); 
Reply


Messages In This Thread
HELP: NPC follow Player using FCNPC. - by bookknp - 09.11.2018, 16:34
Re: HELP: NPC follow Player using FCNPC. - by Freaksken - 09.11.2018, 20:06
Re: HELP: NPC follow Player using FCNPC. - by bookknp - 09.11.2018, 21:02
Re: HELP: NPC follow Player using FCNPC. - by bookknp - 09.11.2018, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)