server
server copied to clipboard
🐛 DefaultActions.lua - NPC not turning to talk to player
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.
They are also stopping NPCs from following their paths if the defaultaction lua is triggered