TrueNoir Posted April 2, 2017 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 109 Reputation: 19 Joined: 11/14/11 Last Seen: February 22 Share Posted April 2, 2017 So in lasa_fild01 there's npc's that do npctalk when you walk close enough to them. Its not really an ontouch type of deal and I'm trying to code some of the npc's trying to figure out what I could do to imitate it. Does anyone have any suggestions? Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted April 2, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: Yesterday at 03:21 PM Share Posted April 2, 2017 Can you describe what you're trying to do? It's almost impossible to help you based on that alone. What's special about the NPC? Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted April 2, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted April 2, 2017 5 hours ago, Tokei said: Can you describe what you're trying to do? It's almost impossible to help you based on that alone. What's special about the NPC? i also agree with this . i can't help you too with this way how you discuss your problem . Quote Link to comment Share on other sites More sharing options...
0 chatterboy Posted April 3, 2017 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 309 Reputation: 26 Joined: 11/26/12 Last Seen: November 22, 2024 Share Posted April 3, 2017 On 4/2/2017 at 11:44 AM, TrueNoir said: So in lasa_fild01 there's npc's that do npctalk when you walk close enough to them. Its not really an ontouch type of deal and I'm trying to code some of the npc's trying to figure out what I could do to imitate it. Does anyone have any suggestions? You mean NPC that talk on its own? Quote Link to comment Share on other sites More sharing options...
0 TrueNoir Posted April 5, 2017 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 109 Reputation: 19 Joined: 11/14/11 Last Seen: February 22 Author Share Posted April 5, 2017 On 4/2/2017 at 7:11 AM, Tokei said: Can you describe what you're trying to do? It's almost impossible to help you based on that alone. What's special about the NPC? I put the project on hold but what I'm talking about is if you notice from this video i made https://www.twitch.tv/videos/133547893 the npc's talk when you walk near them. So I was wondering if we have some kind of map flag that can be used when a character walks through a certain group of cells to trigger the npctalk command? I'm trying to make it as close to iro as possible which is why I don't really care to do a ontouch when they click on it. Quote Link to comment Share on other sites More sharing options...
1 Tokei Posted April 5, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: Yesterday at 03:21 PM Share Posted April 5, 2017 Well, these look regular ontouch areas. lasa_fild01,132,374,3 script Sloth#doram 10167,5,5,{ end; OnTouch: npctalk "Hey, there! Get over here for a minute!"; end; } Quote Link to comment Share on other sites More sharing options...
0 TrueNoir Posted April 6, 2017 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 109 Reputation: 19 Joined: 11/14/11 Last Seen: February 22 Author Share Posted April 6, 2017 Yeah but does ontouch trigger without clicking on the npc? I thought its only when you touch them. They seem to be working in iro more like if you walk within a certain distance of the npc like around it. Quote Link to comment Share on other sites More sharing options...
1 Tokei Posted April 6, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: Yesterday at 03:21 PM Share Posted April 6, 2017 The OnTouch event triggers if you walk into the NPC's zone (not when clicking the NPC). You're describing exactly what OnTouch is meant and used for. Quote Link to comment Share on other sites More sharing options...
Question
TrueNoir
So in lasa_fild01 there's npc's that do npctalk when you walk close enough to them. Its not really an ontouch type of deal and I'm trying to code some of the npc's trying to figure out what I could do to imitate it. Does anyone have any suggestions?
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.