nobukadnezar Posted July 12, 2012 Posted July 12, 2012 Hi folks, How to make NPC talking every certain second to public? i use it to make npc says example like this : "Hello, You can do the quest here...blabla~ i meet that on Pools NPC but i can't find the script Thanks Quote
Euphy Posted July 12, 2012 Posted July 12, 2012 npctalk "<message>"; sleep <ms>; // repeat Alternately, while(1) { npctalk "<message>"; sleep <ms>; } Quote
Sharpienero Posted July 12, 2012 Posted July 12, 2012 (edited) <map>,<x>,<y>,<facing> script Piya 1894,{ npctalk "This NPC can talk!"; npcwalkto <x>,<y>; // It moves! npcstop; // Stop! // You get the point... c: end; } The command npctalk. Edited July 12, 2012 by Sharpienero 1 Quote
Sneaky Posted July 12, 2012 Posted July 12, 2012 *npctalk "<message>"; This command will display a message to the surrounding area as if the NPC object running it was a player talking - that is, above their head and in the chat window. The display name of the NPC will get appended in front of the message to complete the effect. // This will make everyone in the area see the NPC greet the character // who just invoked it. npctalk "Hello "+strcharinfo(0)+" how are you"; Quote
nobukadnezar Posted July 13, 2012 Author Posted July 13, 2012 (edited) 3 support comment less than 10 min ~ Thank You guys! Edited July 13, 2012 by nobukadnezar Quote
Sharpienero Posted July 13, 2012 Posted July 13, 2012 3 support comment less than 10 min ~ Thank You guys! Anytime. Quote
hexor9 Posted April 19, 2013 Posted April 19, 2013 (edited) how to make npc like this NPC warperplayer enter to the warpersay the name who enter Edited April 19, 2013 by hexor9 Quote
gee001 Posted November 15, 2013 Posted November 15, 2013 what if random messages? like "Random 1" , "Random 2" ? how to do this. Quote
Patskie Posted November 15, 2013 Posted November 15, 2013 (edited) Talk every 1 second with random message prontera,150,150,0 script Sample 123,{ end; Oninit: setarray .Messages$[0],"Random 1","Random 2"; while (1) { npctalk .Messages$[rand(getarraysize(.Messages$))]; sleep 1000; } end; } Edited November 15, 2013 by Capuche Fix. Quote
Question
nobukadnezar
How to make NPC talking every certain second to public? i use it to make npc says example like this : "Hello, You can do the quest here...blabla~
i meet that on Pools NPC but i can't find the script
Thanks
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.