Body guard,
#1

Hi, is it possible to let an NPC walk next to you whatever road you take?

I don\'t think it is, but maybe with setplayerpos?
Reply
#2

Huh? Please explain...better.

Can\'t really understand you.
Reply
#3

like, you make a body guard, you (attach) a person who follows you and who is an NPC
Reply
#4

Yes, use offsets.
Reply
#5

Yes, there is a way for a NPC to follow you.

But seeing you are a beginner, it will be pretty difficult(Even I don\'t know how. xD)

Try searching. I believe there was a FS released for NPC\'s to follow you.(May be wrong.)
Reply
#6

Quote:
Originally Posted by Lynn
View Post
Yes, there is a way for a NPC to follow you.

But seeing you are a beginner, it will be pretty difficult(Even I don\'t know how. xD)

Try searching. I believe there was a FS released for NPC\'s to follow you.(May be wrong.)
So you\'ve just called yourself a beginner..
Reply
#7

I said, even I don\'t know how, as in, even experienced people don\'t know how.

Expressing, the challenge in it.

In other-words, not a simple task.

When it comes to bots, and making them do stuff, other then simple tasks,

yes I am a beginner in that.
Reply
#8

Maybe if you Get that Easy NPC Control Plugin and OnPlayerUpdateu you set it to WalkNPC( youre Pos )
Im not sure, it could work
Reply
#9

mhh, yeah I saw that controllable NPC thing... but I don\'t really see a function in it what can help me...
Reply
#10

You can use a timer to get your position every x seconds, and then let the NPC walk to that position, using the
pawn Code:
NPC_WalkTo(npcid,Float:X,Float:Y,Float:Z,is_z_map);
function.
Reply
#11

hmm, yes but would it be smooth?
Reply
#12

Try it, I\'ve never been using a NPC.
Reply
#13

Use a timer to get the closest player position with GetDistanceBetweenPlayers (iv seen it somewhere), the make the bot follow it
Reply
#14

Quote:
Originally Posted by [OC]MestreKiller
View Post
Use a timer to get the closest player position with GetDistanceBetweenPlayers (iv seen it somewhere), the make the bot follow it
yes, but how the heck will I make a bot near my position...?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)