Forum Discussion

SoakingRich's avatar
2 months ago
Solved

"Cannot find module 'horizon/npc' or its corresponding type declarations."

Im trying to use the NPC API but its not available to activate in my world's API settings. The npc module loads correctly in the Profit or Perish template but cant be added to any other world?

  • This is one of Horizon's toggleable APIs.

    Go to "Scripts {}" => "Settings (cog)" => "API" then toggle horizon/npc. Then recompile and you should be in business ๐Ÿ‘

4 Replies

  • This is one of Horizon's toggleable APIs.

    Go to "Scripts {}" => "Settings (cog)" => "API" then toggle horizon/npc. Then recompile and you should be in business ๐Ÿ‘

    • SoakingRich's avatar
      SoakingRich
      Member

      Thanks, but it seems like its actually not there in the list -   is this still a gradual rollout?