server icon indicating copy to clipboard operation
server copied to clipboard

🐛 DefaultActions.lua - NPC not turning to talk to player

Open Frankie-hz opened this issue 2 years ago • 1 comments

I affirm:

  • [x] I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • [x] I have read and understood the Contributing Guide and the Code of Conduct.
  • [x] I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Windows 10

Branch affected by issue

base

Steps to reproduce

An NPC that has a { text = ID.text.XXXXX } with it inside any DefaultActions.lua will NOT turn to talk to the player. It will simply stand still and just return the text.

Talk to any NPC that has a DefaulActions set to it with { text = XXXXXX }

Expected behavior

When talking to the NPC it should turn to you and return the text instead of just the text and staring into space.

Frankie-hz avatar Nov 17 '22 00:11 Frankie-hz

They are also stopping NPCs from following their paths if the defaultaction lua is triggered

Frankie-hz avatar Nov 18 '22 00:11 Frankie-hz