NPC who does not walk
#1

Hello, I have a problem I created an NPC and I do not walk with an animation with the way because this NPC wants to use it for many things, the problem is that when the animation begins to return to the NPC starting position as I could solve?
I taken an video:

Bug [Anim] Npc_Samp...

P.S: I have used this anim:
Код:
ApplyAnimation(i,"PED","WALK_civi",4.1,1,1,1,1,1);
Reply
#2

ill will help you if you can be more helpful on the decriptsion send it to revyourengines@live.co.uk
Reply
#3

I have taken an video:
Bug [Anim] Npc_Samp...

No-one can help me? please
Reply
#4

If you want to make NPC walk, you have to record it.
Reply
#5

right your problem is you havent got the person to go to one point to another ill show you part of one of my scripts here its not walking but its the same
those are my start points for my two limos right?
Limo1 = AddStaticVehicle(409,2125.1548,1045.6689,10.6029,1 25.6300,1,1); // limo1
Limo2 = AddStaticVehicle(409,2039.3546,989.0201,10.4719,17 9.9125,0,0); // limo2
so where do they have to go next? well
limo 1 goes here
if(!strcmp(playername,"Limo1",true)) {
PutPlayerInVehicle(playerid, Limo1, 0);
SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
SetPlayerColor(playerid,0xFF9900AA);
limo 2 here
else if(!strcmp(playername,"Limo2",true)) {
SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
PutPlayerInVehicle(playerid, Limo2, 0);
SetPlayerColor(playerid,0xFF9900AA);
Basicly the man has to get from a to b example the man wants to go to asda so you direct him to asda with the co-ordinates you dont have to script ballshit basic A B and may be you want a C D E F G you can have as meny points of destinatsions you want him to go to i hop this helped if not please contact me again
oh i edited because i forgot you hve to recored the route he will take other wise if they made it so you never had to recored it he could go in the sea flying etc when you want him to walk
Reply
#6

I do not want to load the path to the NPC or record it but I want to understand how I can start the animation without the NPC locks and do not walk
Thanks for the help
Reply
#7

sorry i dont understand
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)