SA-MP Forums Archive
Q: NPC's Talking With Eachother? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Q: NPC's Talking With Eachother? (/showthread.php?tid=331612)



Q: NPC's Talking With Eachother? - Ezay - 05.04.2012

Hey Lads,

I'm Wondering how i can make NPC's Talk With Eachother?


So Obvisley I'll Start it By Using

Код:
if(PlayerToPoint(playerid,X.X,Y.Y,Z.Z))
So, Now If a Player is Within the 2 NPCs,
How Would i Make them Talk?

Would i Use Timer's, so When one Talks, The Other Takes Awhile to Respond?

I'm Kindaof Stuck, Aha.

Cheers
Ezay
\o/


Re: Q: NPC's Talking With Eachother? - Scripter12345 - 05.04.2012

Maybe you could try and get them to walk up to eachother and make one do an animation and then a few seconds later the other NPC does another animation


Re: Q: NPC's Talking With Eachother? - Ezay - 05.04.2012

Nah, I Want Them to Actually Send the Client a Message,

Thanks for your Help Though.




Re: Q: NPC's Talking With Eachother? - Scripter12345 - 05.04.2012

Quote:
Originally Posted by Ezay
Посмотреть сообщение
Nah, I Want Them to Actually Send the Client a Message,

Thanks for your Help Though.

No problem


Maybe you could make something like this

pawn Код:
SendClientMessage("Hello");

But make it so certain plays would be able to see it if in a certain area ?


Re: Q: NPC's Talking With Eachother? - blank. - 05.04.2012

pawn Код:
OnPlayerText(npcid,text)



Re: Q: NPC's Talking With Eachother? - Ezay - 05.04.2012

@ blank.


Thankyou Alot


Re: Q: NPC's Talking With Eachother? - Rob_Maate - 05.04.2012

Do you intend to use chatbubbles?


Re: Q: NPC's Talking With Eachother? - Ezay - 05.04.2012

Nope, Not At All.