Windwhistle Posted January 5, 2014 Share Posted January 5, 2014 How can I make it so that when a player enters Anvil, there is a chance that an NPC may spawn somewhere in that area. Link to comment Share on other sites More sharing options...
IkeCoast Posted January 5, 2014 Share Posted January 5, 2014 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 More sharing options...
Windwhistle Posted January 5, 2014 Author Share Posted January 5, 2014 Aye, thanks. Link to comment Share on other sites More sharing options...
Maskar Posted January 5, 2014 Share Posted January 5, 2014 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 More sharing options...
Windwhistle Posted January 5, 2014 Author Share Posted January 5, 2014 ONE NPC spawns randomly at ONE AREA EACH TIME the PLAYER enters Anvil. A bit more specific. Link to comment Share on other sites More sharing options...
Recommended Posts