NPC bus stop and entering bus
#1

I am trying to learn detect when a player is near a NPC bus, when the player is near the bus I would like the bus to stop, and if the player enters the bus then the bus will keep going.
Reply
#2

you enter with default G key..key as passenger.
the enter key is for driver seat wich you cant use if an npc is inside.

As for the bus stops..there are many ways..you could make the bus stop while your recording
you could also make the bus stop while a player is near the bus
(the npc traces players with a timer and isplayerinrangeofpoint)
Reply
#3

So I can record an NPC like normal and detect buttons pressed in my script from the recording?

If so what actions can be detected whilean NPC is inside a bus?

And I do not want the NPC to enter a bus I want to allow players to enter the busbut F nor enter works, I didn't try G thought
Reply
#4

why would you detect buttons that are pressed ?
entering the bus as passenger is just like entering any car with G try it.

iknow you dont want the npc to enter the bus because the npc is driving lol
Reply
#5

How can I make the bus stop when it is near a player but not when the player is inside a car
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)