JohnnyPlayy Posted May 21, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 41 Reputation: 13 Joined: 03/20/16 Last Seen: April 28, 2024 Share Posted May 21, 2018 Hi guys. Is there any way to make npctalk appear only in chat without popup chat? Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted May 21, 2018 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted May 21, 2018 Use announce with the SELF target. It will appears as a global message but only for the player that triggered it. Quote Link to comment Share on other sites More sharing options...
0 JohnnyPlayy Posted May 21, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 41 Reputation: 13 Joined: 03/20/16 Last Seen: April 28, 2024 Author Share Posted May 21, 2018 I'm using, which I really wanted to appear just on the screen, not in chat harboro1,215,212,1 script #RR04 111,5,5,{ end; OnTouch: npctalk "West: The inn, East: The Sheriff's Office", "", bc_self; end;} Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted May 21, 2018 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 16 hours ago Share Posted May 21, 2018 You're looking for showscript: harboro1,215,212,3 script #rockno04 111,5,5,{ end; OnTouch: showscript "West: The Inn, East: The Sheriff's Office", getnpcid(0, "#rockno04"), SELF, getcharid(3); end; } If you want others to see it as well, then you'd use: harboro1,215,212,3 script #rockno04 111,5,5,{ end; OnTouch: showscript "West: The Inn, East: The Sheriff's Office", getnpcid(0, "#rockno04"); end; } 2 1 Quote Link to comment Share on other sites More sharing options...
0 JohnnyPlayy Posted May 22, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 41 Reputation: 13 Joined: 03/20/16 Last Seen: April 28, 2024 Author Share Posted May 22, 2018 Tokei Thank you very much. Quote Link to comment Share on other sites More sharing options...
0 AnnieRuru Posted May 22, 2018 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted May 22, 2018 [Warning]: script: showscript: self can't be used for non-players objects. [Debug]: Source (NPC): #rockno04 at prontera (155,185) should be prontera,155,185,3 script #rockno04 111,5,5,{ end; OnTouch: showscript "West: The Inn, East: The Sheriff's Office", getcharid(3), SELF; end; } 1 Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted May 22, 2018 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 16 hours ago Share Posted May 22, 2018 (edited) 41 minutes ago, AnnieRuru said: [Warning]: script: showscript: self can't be used for non-players objects. [Debug]: Source (NPC): #rockno04 at prontera (155,185) should be prontera,155,185,3 script #rockno04 111,5,5,{ end; OnTouch: showscript "West: The Inn, East: The Sheriff's Office", getcharid(3), SELF; end; } Hmmm, that script won't work though, it will be shown on the character instead of the NPC. It looks like I modified the script command to work with any input and I've added an extra parameter for the player_gid. My bad! So... it doesn't seem possible to achieve the original goal without modifying your function in the source...! The closest you'll get to is the latest option: harboro1,215,212,3 script #rockno04 111,5,5,{ end; OnTouch: showscript "West: The Inn, East: The Sheriff's Office", getnpcid(0); end; } It's visible by other players, but it's not a huge deal for what you're trying to do. Edited May 22, 2018 by Tokei 1 Quote Link to comment Share on other sites More sharing options...
0 JohnnyPlayy Posted May 22, 2018 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 41 Reputation: 13 Joined: 03/20/16 Last Seen: April 28, 2024 Author Share Posted May 22, 2018 AnnieRuru Thank you very much. Quote Link to comment Share on other sites More sharing options...
Question
JohnnyPlayy
Hi guys.
Is there any way to make npctalk appear only in chat without popup chat?
Link to comment
Share on other sites
7 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.