Jump to content
  • 0

OnTouch questions...


Question

Posted

I have some questions about the OnTouch: parameter on the npc scripting.

  1. Is there any way of avoiding monsters of triggering it?
  2. If the npc moves location by using either walk to or teleport, the areas of ontouch will change aswell?

These questions are troubling me.

6 answers to this question

Recommended Posts

Posted

Thanks, that helped, I just wish there were a way of making so the touch area is a square around the npc...

 

It is a square? Do you mean OnTouch to merely occupy the cell the npc is on, or? What area are you looking to cover?

Regards,

~AzuraSkyy

Posted (edited)

For my npc to work as intended, I would need to make so the npc touch area is an square around the npc.

like squared dimensions -3,-3,3,3.

Edited by nakano15

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...