NPC Bug.. Its always teleport to other NPC
#1

I have 3 NPCs on my mode.

I had 2 NPCs, and then I create more one.
After I create the 3 The last NPCs (2, 3) Start bugged.

( 1 = Police patrol, 2 = Bus , 3 = Bus too )

Sometimes they teleport to the Police Patrol NPC, and sometimes just standing.

All npcs I did they will drive in vehicle.
At the start, all npcs start driving , and then after 20 secondes they got bugged.

I use LARP.

Thank you for help

Sorry for my bad english.

Reply
#2

Somebody?
Reply
#3

I have 5 in one small area without problems. Gotta be your script
Reply
#4

But what there is in my script?

Thats what I am asking.
Something makes that happen, And I want to know what
Reply
#5

Maybe your script in npcmodes thats controls the bot aint correct?
Follow the NPC tutorial by kc
Reply
#6

make sure the npcmodes have a different recording

pawn Код:
#define RECORDING ".rec file" // without extension
#define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
Reply
#7

I have 3 NPC, I know all what I did is correct.

I am saying, After I created the 3 NPC, Thats start bugged
Reply
#8

Quote:
Originally Posted by V1ceC1ty
make sure the npcmodes have a different recording

pawn Код:
#define RECORDING ".rec file" // without extension
#define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
Do you think I stupid? :S
Reply
#9

that is the only way i can think of that an NPC is teleporting to another NPC
Reply
#10

Quote:
Originally Posted by V1ceC1ty
that is the only way i can think of that an NPC is teleporting to another NPC
But its realy happen!

I dont know why!
Sometimes they are just out of the vehicle ,
And sometimes they are just teleporting to the First NPC I created!
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)