Jump to content

Make randomly spawning NPC


Windwhistle

Recommended Posts

It's made through scripts. You need to create a script with the needed variables and conditions (when and where the NPC will spawn, and other variables needed), and then apply this script to the NPC.

 

But I'm not sure if it's possible to make the NPC spawning actually randomly. I think spawning NPCs need a fixed spawning point where they's appear. Perhaps you could define several spawning points, and script the NPC to use one or another depending on the spawning variables.

 

No, I don't know how to script, so I can't guide you through this, but at least I can tell you that it's possible and as far as I understand, quite easy if one knows how to script.

 

Cheers!

Link to comment
Share on other sites

You need to be a little more specific with "an NPC" and "when a player enters Anvil". Is this a specific npc or a random npc, chosen from a list, like a bandit? Do you want a fixed % chance to spawn the npc every time you enter Anvil or based on the cell respawn time (3 game days).

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...