Question
#1

i have a question on a npc bot?
How can i like, i made a bot that drives a bus he works and all but how can i make that when he's stopped a message to all appears saying bus ha stopped?
Reply
#2

Well, there are 2 possibilities:

• Use a timer that checks the Speed of your NPC, and if it is 0, the message appears.
• Check, how long your NPS drives to the place where he stops, and make a timer with the time of the driving time. E.g: NPC drives 2 minutes => Timer of 120000ms.

I can't think of any other ways.
I hope this helps you.
Reply
#3

but im not good with timers
Reply
#4

Tell me how long the NPC drives untill he has reached his destination. Then I can create the timer for you (But not today anymore^^).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)