NPC help
#1

Hey there,

I'm a complete noob with NPC functions and I just made my first bus driver NPC, driving around town picking up people etc.

But where do I place the part that the recording gets paused when the driver is near another player?
And resumed when it's done,

Should I just use the OnPlayerUpdate in the gamemode, I don't think so because I can't pause recordings from there.

So where should I?
Reply
#2

look at the taxi_ls test in the npcmodes folder. there you can see that a timer is used for the npc checking if a player is near,it pauses.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)