Posts: 29
Threads: 7
Joined: Aug 2014
Reputation:
0
22.09.2014, 18:05
(
Последний раз редактировалось Mariawantstowatchtv; 25.09.2014 в 21:14.
)
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.
Posts: 618
Threads: 31
Joined: Feb 2011
Reputation:
0
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)
Posts: 29
Threads: 7
Joined: Aug 2014
Reputation:
0
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
Posts: 618
Threads: 31
Joined: Feb 2011
Reputation:
0
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
Posts: 29
Threads: 7
Joined: Aug 2014
Reputation:
0
How can I make the bus stop when it is near a player but not when the player is inside a car