Tiitouaan
10 days agoMHCP Member
Why is my editor unable to find module 'horizon/avatar_ai_agent'
Hello,
I can't figure out why I have the error :
[NPCSManager] (2, 121:146) Cannot find module 'horizon/avatar_ai_agent' or its corresponding type declarations.
[NPCSManager] (25, 55:71) Property 'spawnAgentPlayer' does not exist on type 'Entity'.Do I have to enable some settings ?
Hello!
If you are experiencing this issue, you may not have enabled the avatar_ai_agent API setting.
To resolve this, go to the "script settings" section, then look under "API." Find the avatar_ai_agent setting and switch it on. For visual guidance, refer to the screenshot provided below.
Let me know if this solves your problem or if you need further assistance!