nobukadnezar Posted July 12, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Share 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 Link to comment Share on other sites More sharing options...
Sharpienero Posted July 12, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 386 Reputation: 28 Joined: 01/16/12 Last Seen: January 6, 2023 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted July 12, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 12, 2012 npctalk "<message>"; sleep <ms>; // repeat Alternately, while(1) { npctalk "<message>"; sleep <ms>; } Quote Link to comment Share on other sites More sharing options...
Sneaky Posted July 12, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share 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 Link to comment Share on other sites More sharing options...
nobukadnezar Posted July 13, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Author Share Posted July 13, 2012 (edited) 3 support comment less than 10 min ~ Thank You guys! Edited July 13, 2012 by nobukadnezar Quote Link to comment Share on other sites More sharing options...
Sharpienero Posted July 13, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 386 Reputation: 28 Joined: 01/16/12 Last Seen: January 6, 2023 Share Posted July 13, 2012 3 support comment less than 10 min ~ Thank You guys! Anytime. Quote Link to comment Share on other sites More sharing options...
hexor9 Posted April 19, 2013 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 106 Reputation: 0 Joined: 11/16/11 Last Seen: October 16, 2016 Share 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 Link to comment Share on other sites More sharing options...
gee001 Posted November 15, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 12/26/12 Last Seen: August 18, 2015 Share Posted November 15, 2013 what if random messages? like "Random 1" , "Random 2" ? how to do this. Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 15, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 4 hours ago Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.