Jump to content
  • 0

Question about talking NPC's


Question

Posted

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?

7 answers to this question

Recommended Posts

  • 1
Posted

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;
}

 

  • 0
Posted
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 .

  • 0
Posted
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? :D

  • 0
Posted
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.

  • 0
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...